Hello.
Yvan Fournier
IMHO, I found some bugs in Saturne 4.0.0 that I don't see in "what's new" for 4.0.1 and 4.0.2.
1. Intermediate results writer doesn't work via GUI. The bug seems to arise due to incorrect "options" field in XML file written by the GUI module. Please checkout this fragment of the XML:
Code: Select all
- <writer id="-1" label="results">
<directory name="postprocessing" />
<format name="ensight" options="binary" />
<frequency period="none" />
<output_at_end status="on" />
<time_dependency choice="fixed_mesh" />
</writer>
- <writer id="1" label="imdt">
<directory name="imdt_post" />
<format name="ensight" options="" />
<frequency period="time_step">50</frequency>
<output_at_end status="off" />
<time_dependency choice="fixed_mesh" />
</writer>
As you can see, EnSight options for built-in writer is "binary" while for my intermediate writer this field is set to empty string. As a result, no any intermediate results a written.
2. Saturne processes crash on calculation finalisation with button "Stop now" in GUI. Fortunately, they write results first, including restart files, but partitioning info is not written at all or written partially (for example, for 2 of 4 partitions). It may be due to old OpenMPI version that wat installed from repository and should be 1.4.3 for my Ubuntu 12.04.
3. May be not a bug but... Two of three Reynolds stress models (RSM) doesn't converge with all known to me "converging" settings in Saturne GUI (SIMPLEC + target CFL as low as 1.0, increased relaxation sweeps up to 7, relaxation=0.1 for SIMPLE and even Upwind for Velocity that reduces precision). Symptoms are maximal velocity spikes up to 2 orders of magnitude relative to normal with fast reduction to expected level. These spikes are persistant during tens of iterations even if calculation was started from complete SST results (more than 1000 of iterations). Setup is described below (valve test for this topic).
Sorry if I missed something about fixes for 4.0.1 and 4.0.2 in "what's new" and for offtopic.
Ccaccia73
Results look a bit terrible taking into account that CFL<20. Not a disaster, but so big difference (~8.25/~11.0 bar) in SIMPLE/SIMPLEC results is not pleasant.
I performed my test calculations with abstract valve geometry. Results are more or less normal except maximal velocities (not pressure difference) with Reynolds stress model.
I attached the 3D geometry outline in my previous post. Valve consist of inlet part, membrane with orifice, disk on a stem and outlet part (sorry for terminology, I don't work with valves). Inlet and outlet diameters are 100 mm, membrane orifice diameter is 40 mm. Tetrahedral mesh built with NetGen in Salome (two variants with ~0.33 and ~1.0 millions of cells).
Fuild is water with density of 1000 kg/m3 and dynamic molecular viscosity of 0.0002 Pa*s. Inlet velocity set to 5 m/s, walls are smooth.
There was five main variants:
1. Mesh ~1 mln cells, SIMPLE, SST turbulence.
2. Mesh ~1 mln cells, SIMPLE
C, SST turbulence.
3. Mesh ~0.33 mln cells, SIMPLE
C, SST turbulence.
4. Mesh ~0.33 mln cells, SIMPLE,
K-Epsilon turbulence.
5. Mesh ~0.33 mln cells, SIMPLE, RSM turbulence (second and third RSMs from 4.0.0 GUI).
Number of iterations in all variants was enough (IMHO). I controlled the solution by maximal pressure stabilisation (in fact - our target parameter, pressure drop) and maximal velocity stabilisation. Minimum number of iterations was more than 300 (AFAIK), for first variant ~700 iterations, for second (based on first) ~700+500 iterations.
I attached the archive with my case (without big RESU directory), it's abstract and not confidential.
You can see the comparison of velocity fields in axial cross-section on attached image. Primary flow features and velocity levels are very similar with different meshes and turbulence models (SST/k-epsilon). But there are differences in secondary features like recirculation zones or "slack flow" zones. It's not very good, but also is not surprising, you may obtain differences like these in commercial programs too (various programs or turbulence models). We should also take into account that flow may be unstable in "secondary" zones.
RSM variants on "0.33M" mesh didn't converge, there was maximal velocity spikes up to thousands m/s while normal level is 71 m/s (it's not in the axial section on the picture or there are interpolation issues).
Meanwhile, pressure difference on this abstract valve was almost the same in all variants and lied in range
1.41...1.45 MPa depending on variant and iteration (even including one non-stable RSM variant). As you can see from total pressure distribution on the picture below, pressure loss in this case, like in many other cases, is due to local accelerating of the fluid (dynamic pressure increase) with subsequent slowing down and dissipation of energy that was associated with dynamic pressure. Please note that total pressure on the picture (and, IMHO, in most other meanings) is a sum of static and dynamic (0.5*rho*w^2) pressures, not an absolute pressure like in Saturne terminology. Distributions of total pressure are very similar among tested variants so I only attached one of them.
So what do we have? There are apparently no significant difference between my valve-test variants (in pressure drop) inspite of changing the mesh and turbulence models. Therefore, I don't see the way I can help you because your geometry is confidential at the moment (it's OK, I just point it). Possibly we'll found the reason for different results when you will get the permission to upload you geometry. Have you performed current test with the old mesh or with refined mesh?