Simple Simulation
Posted: Fri Oct 16, 2009 5:34 pm
I have been attempting to familiarize myself with Code Saturne and I am posting the simulations I run on the CAELinux wik (http://www.caelinux.org/wiki/index.php/Contrib:BondMatt/LaminarPipeFlow).
I have a few concerns or problems.
How do I track residuals? I found a forum post elsewhere but it was based upon the terminal version of Code Saturne. I tried launching a shell and using the commands they suggested but I was not met with success.
I was forced to check off the 'pseudo-coupled velocity pressure solver' box under 'Global Parameters' to get reasonable results. I tried to change the finite differencing techniques and relaxation factors but the results were always extremely erroneous without that box checked. What does checking that box mean? If I had to guess I would say it would be used for incompressible flows where PV=nRT cannot be used to couple pressure and density. However, this does not seem right because a somewhat similar tutorial (flow over a step) included with CAELinux does not require that box to be checked.
My final results are not accurate. I tried refining the mesh and the results stayed about the same so I think I have grid independence as is. My simulation is a 2D analysis of half of a cross section of a pipe with laminar flow. The velocity field at the inlet is a uniform 1 m/s in the axial direction. A plot of the centerline velocity shows the fully developed centerline velocity to be approaching 1.5 m/s but it should be approaching 2 m/s. I cant imagine this is the result of a problem with the software. Where am I going wrong?
Best regards,
- Matt Bondy
I have a few concerns or problems.
How do I track residuals? I found a forum post elsewhere but it was based upon the terminal version of Code Saturne. I tried launching a shell and using the commands they suggested but I was not met with success.
I was forced to check off the 'pseudo-coupled velocity pressure solver' box under 'Global Parameters' to get reasonable results. I tried to change the finite differencing techniques and relaxation factors but the results were always extremely erroneous without that box checked. What does checking that box mean? If I had to guess I would say it would be used for incompressible flows where PV=nRT cannot be used to couple pressure and density. However, this does not seem right because a somewhat similar tutorial (flow over a step) included with CAELinux does not require that box to be checked.
My final results are not accurate. I tried refining the mesh and the results stayed about the same so I think I have grid independence as is. My simulation is a 2D analysis of half of a cross section of a pipe with laminar flow. The velocity field at the inlet is a uniform 1 m/s in the axial direction. A plot of the centerline velocity shows the fully developed centerline velocity to be approaching 1.5 m/s but it should be approaching 2 m/s. I cant imagine this is the result of a problem with the software. Where am I going wrong?
Best regards,
- Matt Bondy