CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

separating physics and numerics?

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

LinkBack Thread Tools Display Modes
Old   February 17, 2004, 14:54
Default separating physics and numerics?
Maxim Umansky
Posts: n/a

I am thinking whether one can come up with a general CFD code that would use a variety of options for discretization for a variety of options for the physics equations. Something like a parser that would automatically interpret the physics equations according to the chosen discretization scheme, rather than using a hard-wired discretization scheme. Anyone heard of somebody trying anything like that? Thanks for any info or thoughts.

  Reply With Quote

Old   February 17, 2004, 17:49
Default Re: separating physics and numerics?
Hrvoje Jasak
Posts: n/a
Well, have a look at the FOAM web site ( the code is written (in C++) as a library of operators talking the language of partial differential equations. Each operator creates a matrix and the matrices are then summed up to create the final linear system on which a solver is called. There are examples on the web site and all top-level codes are shipped in full source. Typically, they will be a couple of hundred lines long, so there's no need to be scared

This approach allows you to pick-and-mix your physics any way you like. The discretisation is then controlled "per-operator" and "per-equation"; with some work you can even go from FVM (that's the work-horse) to the FEM (used for automatic mesh motion and such like).

If you need to know more, there are a couple of papers you can read:

Weller, H.G.; Tabor G.; Jasak, H. and Fureby, C.: A Tensorial Approach to CFD using Object Orientated Techniques, Computers in Physics, 1998 v 12 n 6, pp 620 - 631

Jasak, H.; Weller, H.G and Nordin, N.: In-Cylinder CFD Simulation Using a C++ Object-Oriented Toolkit, SAE World Congress, Detroit, 2004. The paper describes some parts of the FOAM design and includes example internal combustion engine simulations using FOAM.


  Reply With Quote

Old   February 17, 2004, 20:01
Default Re: separating physics and numerics?
Jim Park
Posts: n/a

Professor Jerry Baker at the University of Tennessee.
  Reply With Quote

Old   February 18, 2004, 09:53
Default Re: separating physics and numerics?
Posts: n/a
or just check out their website at
  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
Implicit time-stepping Sara Main CFD Forum 1 May 22, 2008 09:06

All times are GMT -4. The time now is 23:06.