|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Lluís M. Biscarri
Join Date: Nov 2011
Posts: 24
Rep Power: 15 ![]() |
hi community,
I'm running my first models using OpenFoam, the problem is a confined water flow, initial velocity is 0.1m/s, the solver is simpleFoam stationary when postprocessing and animating the results through time steps I observe: - first 6 to 10 time steps show big oscillations in the velocity field, with changes in velocity even reversing directions - then these oscillations reduce and the flow field evolves to an each time more stable solution and reaches a visually quasi-converged solution - after that, additional time steps produce an instabilization that yields in and error stop after 4 - 5 time steps - cumulative time step continuity errors dramaticaly rise to e+60 order values I attach the solver log file for the last iterations thank's in advance for your comments ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 ![]() |
You have an issue with your turbulence model. Look at epsilon. You are already diverging when you are considering the "solution quasi converged...".
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Lluís M. Biscarri
Join Date: Nov 2011
Posts: 24
Rep Power: 15 ![]() |
thank you very much, Aurelien, for your help
can you give me any orientation about what I'm doing wrong? a) I prepare the case importing the mesh from a UNV file into Discretizer GUI b) in Discretizer I specify boundary conditions c) and set several parameters: - viscosity NU - RNGkEpsilon model - turbulence ON - WALLKAPPA 0.4187 (default value) - WALLE 9 (default value) Discretizer offers further wall models: kEpsilon, realizableKE, LaunderSharmaKE, LamBremhorst; for all of them default values are the same as above |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 ![]() |
I didn't know Discretizer.
But what you can do : - Launch a checkMesh : The command is "checkMesh > log.checkMesh" (or whatever you want for the output log). It will check the quality of your mesh (upload the log file if you don't understand the output) : skewness, cell's aspect ratio, nonorthogoality... If the quality of your mesh is low, you'll have to change your fvScheme file (in the system sub-directory). |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Lluís M. Biscarri
Join Date: Nov 2011
Posts: 24
Rep Power: 15 ![]() |
I use salome for geometry construction & meshing, then I export to UNV file that I import into Discretizer...
I try to use as much as possible open-source tools with Graphic User Interface in order to work in a more friendly environment I'm familiar with mesh distortion parameters, but don't know where to launch the command checkMesh, I've tried it in a linux shell, at the open-foam case directory, but command is not found How do you set your openfoam cases up, what tools do you use? thank's |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 ![]() |
1/ You have to go in a linux shell to your case directory.
2/ Then you have to source OpenFoam : "source ~/OpenFOAM/OpenFOAM-2.0.0/etc/bashrc (adapt the command) 3/ And finally type : "checkMesh > log.checkMesh" I'm doing all the stuff within a simple linux command shell. It's a bit difficult at first, but I think you learn faster how to set up cases properly by this way than with a GUI. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Lluís M. Biscarri
Join Date: Nov 2011
Posts: 24
Rep Power: 15 ![]() |
OK, it worked, thank you
![]() I attach the log.checkmesh of my model it seems everything is correct what do you think? |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 ![]() |
Yes, everything is good with your mesh. Upload your boundary condition files (from the folder 0/, you should have something like U, p nut, k and epsilon).
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 ![]() |
hello,
Is your domain 250 m wide, 200 m high and 200 m deep? Are you using the right units? I needed to change in constant/polyMesh/boundary for the wall the patch type from patch to Wall. I do not know discretizer does this. hope this helps Wouter |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Lluís M. Biscarri
Join Date: Nov 2011
Posts: 24
Rep Power: 15 ![]() |
thanks again, Aurelian
here I upload a the openfoam case files, I've omitted those big files listing points, faces,... thanks as well, Wouter model units are mm-g-s I use consistent units for NU=MU/RHO, being for water at 20ºC: MU = 1e-03 g/(mm·s) RHO = 1e-03 g/mm3 then NU = 1 mm2/s = 1e-06 m2/s (SI) all the case files uploaded are generated by Discretizer, where you enter the values through its GUI hope this may help ![]() Lluís |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Laminar simpleFoam and inviscid simpleFoam | herenger | OpenFOAM Running, Solving & CFD | 7 | July 11, 2013 06:27 |
Naca0012 k-e mpirun gives fpe whereas simpleFoam not | Pierpaolo | OpenFOAM | 1 | May 8, 2010 03:08 |
Error running simpleFoam in parallel | skabilan | OpenFOAM Running, Solving & CFD | 2 | August 29, 2008 09:42 |
Instability of convection | Zeng | Main CFD Forum | 0 | May 26, 2000 05:39 |
secondary instability?? | Anan | Main CFD Forum | 2 | April 6, 2000 09:48 |