|
[Sponsors] |
[Other] Tabulated thermophysicalProperties library |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 17, 2014, 04:40 |
Tabulated thermophysicalProperties library
|
#1 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 18 |
I've finally gotten around to cleaning up my code for using tabulated material properties so I can release it.
Keep in mind that it's still work in progress, so please tell me if you find any problems. Currently there is support for:
The code is based on the compressibility based formulation hePsiThermo, so heRhoThermo based solvers may not be supported (or only partially, haven't tried). Also multiphase flows are currently unsupported. If anyone wants to add them, go ahead! It basically comes down to implementing the operators in the classes properly I think. If you use the tabulated enthalpy, it is suggested that you provide an inverted T(p,h) table and use heTabularThermo instead of hePsiThermo for much better performance. An example thermophysicalProperties file may contain these entries: Code:
thermoType { type heTabularThermo; mixture pureMixture; transport tabular; thermo hTabular; equationOfState tabularEOS; specie specie; energy sensibleInternalEnergy; }
A table file looks like this: Code:
( (temperature1 ((pressure1 value11)(pressure2 value12)...) (temperature2 ((pressure1 value21)(pressure2 value22)...) ... ) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Multi species mass transport library [update] | novyno | OpenFOAM Community Contributions | 111 | November 9, 2021 23:37 |
ERROR: unable to find library | HJH | CFX | 6 | February 26, 2019 06:52 |
Forcing a solver to use your custom library. | cdunn6754 | OpenFOAM Programming & Development | 0 | March 30, 2017 16:05 |
Compiled library vs. inInclude Files, DSMC solver crashes after run | GPesch | OpenFOAM Programming & Development | 8 | April 18, 2013 07:17 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 15:49 |