Closed jbisits closed 1 week ago
The current implementation
is not GPU
compatible. I have run a DNS experiment on CPU
to see how it behaves.
Best might be to move to a ConditionalOperation
or refine the Relaxation
forcing I have already written so that it relaxes to something that is a bit more like the flux we place in (maybe using tanh
)
This
Callback
was written to keep the tracer content (S
andT
) relatively constant throughout the course of a single interface diffusive convection setup (done in #40). The design is:S
andT
content in each of these layersThe goal is to maintain an approximately constant $R_{\rho}$ value (away from the diffusive interface) to avoid run down in the simulation.
As I was looking at this locally I noticed especially the temperature was sensitive to the frequency of the
Callback
and that changes in the parameterised diffusivity also had an effect. None of my local tests could achieve high enough resolution to test this properly so I have merged #40 and will keep track of changes/updates/fixes here until I have a better handle on things.