|
[Sponsors] |
How to implement thermophysical properties in a solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 17, 2008, 12:29 |
Hello everyone,
this is my
|
#1 |
New Member
Dominik Christ
Join Date: Mar 2009
Posts: 28
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Introducing polynomial thermophysical properties | juanltm | OpenFOAM Running, Solving & CFD | 11 | September 22, 2016 13:54 |
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 10: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 |