CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

editing case file for a solver

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 3, 2010, 02:37
Default editing case file for a solver
  #1
Senior Member
 
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 102
Rep Power: 7
mecbe2002 is on a distinguished road
lets take a example to illustrate my question. Consider "rhopSonicFoam" solver.

its a Pressure-Density based compressible solver. how to decide what type of fluid properties to define i.e thermodynamic or thermophysical and also whether its a steady state solver or not and what are to be included in controlDict file.

One more question.. how to solve a steady state problem. In Fluent we give the convergence criteria, similarly how to represent in OpenFoam for a steady state problem.

thanks in advance
mecbe2002 is offline   Reply With Quote

Old   March 4, 2010, 00:24
Default
  #2
Senior Member
 
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 102
Rep Power: 7
mecbe2002 is on a distinguished road
Hi someone reply please..
mecbe2002 is offline   Reply With Quote

Old   March 6, 2010, 17:37
Default
  #3
Member
 
Primoz Ternik
Join Date: Apr 2009
Location: Maribor, Slovenia
Posts: 65
Rep Power: 8
ternik is on a distinguished road
Quote:
Originally Posted by mecbe2002 View Post
lets take a example to illustrate my question. Consider "rhopSonicFoam" solver.

its a Pressure-Density based compressible solver. how to decide what type of fluid properties to define i.e thermodynamic or thermophysical and also whether its a steady state solver or not and what are to be included in controlDict file.

One more question.. how to solve a steady state problem. In Fluent we give the convergence criteria, similarly how to represent in OpenFoam for a steady state problem.

thanks in advance
Hi,

regarding the steady state problem - in OF there is simpleFoam (Steady-state solver for incompressible, turbulent flow; in addition, it works well for the laminar flow of non-Newtonian fluids!). Of course, you can set convergence criteria (like in Fluent or CFX) and the pyFoamSteadyRunner.py (I think it is a Python library) stops the OF solver (simpleFoam) when all linear solvers are below threshold (converged solution) and the last simulation state is written to dis. More on this (PyFoam) can be found here

http://openfoamwiki.net/index.php/Contrib_PyFoam

Hope this help!

Enjoy,
Primoz
ternik is offline   Reply With Quote

Old   March 7, 2010, 00:47
Default
  #4
Senior Member
 
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 102
Rep Power: 7
mecbe2002 is on a distinguished road
Hi Primoz,

Thanks for the reply.
I want to solve Inviscid Compressible steady state flow problem. Two solvers are available in OF, "rhopSonicFoam" & "rhoSonicFoam", so how to set the convergence criteria instead of end time.

thanks
mecbe
mecbe2002 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
ParaView 33 canbt open OpenFoam file hariya03 OpenFOAM Paraview & paraFoam 7 September 25, 2008 17:33
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 15:49
new mesh, same case file student FLUENT 1 January 29, 2007 11:37
PHI file structure Eugene Phoenics 9 November 2, 2001 23:00


All times are GMT -4. The time now is 11:20.