CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Solving systems of equations

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

LinkBack Thread Tools Display Modes
Old   February 2, 2005, 08:14
Default Hi, I'm wondering how one ca
Marco Kupiainen (Kupiainen)
Posts: n/a
I'm wondering how one can solve systems of equations in OpenFOAM. I am not interested in a segregated solver of the PISO, SIMLE type, since I have source terms.
Does one have to construct a vector containing the unknowns, e.g. U=(rho, rho*u, rho*v, rho*w, rho*E) for the NS-equations. And then do the time integration with some scheme, e.g. Runge-Kutta or similar. Will there be problems with the physical units? What about the operators, div, grad, etc. can they handle this?
What other difficulties can you foresee? Is this a feasible way at all with OpenFOAM?
best regards
  Reply With Quote

Old   February 2, 2005, 13:28
Default Why cant you use a segregated
Eugene de Villiers (Eugene)
Posts: n/a
Why cant you use a segregated solver with source terms like the rest of us? OpenFOAM does not at present incorporate a block solver, so you are limited to a segregated approach.

To see how equations are defined and solved, please look at any solver's top level code, e.g. RANS based incompressible solver, OpenFOAM-1.0.2/applications/solvers/incompressible/turbFoam/turbFoam.C
  Reply With Quote

Old   February 2, 2005, 13:31
Default For this case, the segregated
Hrvoje Jasak (Hjasak)
Posts: n/a
For this case, the segregated solver is not appropriate - you get killed in cross-equation coupling because source-coupling is very strong. We basically need a block solver and the sooner the better.

If you try to solve this segregated, you will end up violating the entrophy condition because of lagged source interaction.

  Reply With Quote

Old   February 2, 2005, 13:55
Default We have very successful segre
Henry Weller (Henry)
Posts: n/a
We have very successful segregated solvers for this kind of problem, it's just a matter of choosing the best variables to solve for and being consistent with the discretisation and boundary conditions.
  Reply With Quote


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
solving stiff equations vishal FLUENT 0 September 22, 2008 17:14
2nd order equations not solving well Paul FLUENT 1 May 16, 2008 17:52
Schemes for solving Euler equations shuo OpenFOAM Running, Solving & CFD 0 December 10, 2006 05:11
solving two systems together Ozlem Phoenics 1 September 28, 2005 12:08
solving 3D N-S equations. Yangang Bao Main CFD Forum 1 September 29, 1999 06:53

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