CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Solving systems of equations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2005, 07:14
Default Hi, I'm wondering how one ca
  #1
Marco Kupiainen (Kupiainen)
Guest
 
Posts: n/a
Hi,
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
Marco
  Reply With Quote

Old   February 2, 2005, 12:28
Default Why cant you use a segregated
  #2
Eugene de Villiers (Eugene)
Guest
 
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, 12:31
Default For this case, the segregated
  #3
Hrvoje Jasak (Hjasak)
Guest
 
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.

Hrv
  Reply With Quote

Old   February 2, 2005, 12:55
Default We have very successful segre
  #4
Henry Weller (Henry)
Guest
 
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

Reply


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 Off
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 04: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 02:27.