# separating physics and numerics?

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

 February 17, 2004, 14:54 separating physics and numerics? #1 Maxim Umansky Guest   Posts: n/a Folks, 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. -Maxim-

 February 17, 2004, 17:49 Re: separating physics and numerics? #2 Hrvoje Jasak Guest   Posts: n/a Well, have a look at the FOAM web site (http://www.nabla.co.uk): 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. Enjoy, Hrv

 February 17, 2004, 20:01 Re: separating physics and numerics? #3 Jim Park Guest   Posts: n/a Try ajbaker@cfdlab.engr.utk.edu, Professor Jerry Baker at the University of Tennessee.

 February 18, 2004, 09:53 Re: separating physics and numerics? #4 alex Guest   Posts: n/a or just check out their website at http://cfdlab.engr.utk.edu

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Sara Main CFD Forum 1 May 22, 2008 09:06

All times are GMT -4. The time now is 22:39.