Hello Riadh!
Sorry for not being so clear. Here comes some more explanations.
I want to model the outflow from a heat power plant. In a first round it was made without any stratification - just a simple thermal dispersion with a different temperature in the outflow compared with the sea temperature. I then need to include salt stratification (in the sea water and with a different salt concentration in the outflow).
The two first pictures show the 3D velocities with a model with only temperature while the second corresponds to the case with both temperature and salt. In that case I observe what I called "erroneous currents", that is wriggles on velocities (also observed on the tracers) in the areas where my mesh is refined (and especially at the transitions between refined and coarser mesh).
Regarding non-hydrostatic, of course, I normally use this version for all my 3D models but on this one in particular it is simply not possible from a budget point of view (!). But I might rethink the whole thing by removing the detailed outlet geometry (node spacing 0.1 m in some locations in combination with the highest velocities of about 1 m/s) to retrieve a more reasonable set-up.
And since I am going to rethink it all I will take your advices regarding element growth ratio near boundaries into account, thanks!
A last comment. The outflow has actually a non-negligible air concentration that messes up the actual fluid density which is of utmost importance in this case. I have just worked on a trick in order to account for air concentration and deaeration effects on the flow density by doing the following:
- adding a third tracer playing the role of air "AIR" (volumic concentration)
- introducing a decay rate for this tracer to model the deaeration process (very simplistic, constant decay over the water column)
- correcting the fluid density in subroutine drsurr.f with RHO = RHO*(1-AIR)
It works fine on a small test model but (of course) crashes in my big model
Has anyone tried to do a similar thing and if yes, any comments/advices? I will continue to work on it since I must include the deaeration effect on fluid density to obtain a proper calibration.
Best regards
Pierre-Louis