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

How to implement thermophysical properties in a solver

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 17, 2008, 11:29
Default Hello everyone, this is my
  #1
New Member
 
Dominik Christ
Join Date: Mar 2009
Posts: 28
Rep Power: 8
dominik_christ is on a distinguished road
Hello everyone,

this is my first post to the forum and I hope this has not already been answered elsewhere.

My big goal is to implement a solver for steady-state gaseous combustion (and not just try to make changes to reactingFoam).

So I start with rhoSimpleFoam and add species transport (and add the source term later on). For that I would like to use the mixture data which are defined in the thermophysicalProperties dictionary. From the User Guide's overview of the individual modules, the following should be suited for my needs:
---
thermoType hThermo<puremixture<consttransport<speciethermo<hc onstthermo<perfectgas>>>>>;
---

And the problems start here:

How can I access e.g. the Schmidt number that is defined for "constant transport"?

In hThermo.h I find "basicMixture& composition()" declared. In my createFields.H, I declare
----
autoPointer<basicthermo> thermo
(
basicThermo::New(mesh)
);
----
but then I can only access the member functions from basicThermo.H.

So, how can I access basicMixture ?

And, if there is such a modular approach for thermophysicalProperties, why is the number of choices limited to what has been declared in basicThermos.C or hCombustionThermos.C ? (I was not successful in adding other combinations and compiling the result)

Thanks for your help!
Regards,
Dominik Christ
__________________
__________________
Dominik Christ
Providing commercial foam-extend/OpenFOAM and CFD Consulting: http://wikki.co.uk
dominik_christ 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
Introducing polynomial thermophysical properties juanltm OpenFOAM Running, Solving & CFD 10 May 4, 2013 10:44
Question of properties in two phase solver mmjhuang OpenFOAM Running, Solving & CFD 2 October 29, 2012 23:56
How to use thermophysical data lasb OpenFOAM Running, Solving & CFD 1 September 23, 2010 09:36
Thermophysical properties in a cylinder guilherme OpenFOAM Running, Solving & CFD 1 December 3, 2006 09:37
thermophysical properties of ham Alex Ivancic Main CFD Forum 1 November 5, 1998 12:09


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