|
[Sponsors] |
May 14, 2013, 15:47 |
Where is physicoChemical::k defined?
|
#1 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 23 |
I was looking for the physicoChemical::k definition but I couldn't find it. Where is it located in FOAM 2.2.x or 2.2? The best I could find was what is in fundamentalConstants.C, but i couldn't find the point where the value 1.3806488*10-23 is assigned.
Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
May 14, 2013, 17:08 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Santiago,
Remember one of the new features in 2.2 for dynamic units and constants? http://www.openfoam.org/version2.2.0...me-control.php Check the list "DimensionedConstants" in "$WM_PROJECT_DIR/etc/controlDict". To see where it's located, run: Code:
echo $WM_PROJECT_DIR/etc/controlDict It's dynamically loaded at runtime! Best regards, Bruno
__________________
|
|
May 15, 2013, 10:07 |
|
#3 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 23 |
Thanks Bruno, now I'm understanding the presence of the defineDimensionedConstant* macros, they read the constant from the definition file. I checked the 1.7.x distro and the k constant was hard-coded.
Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] How can I define different zones in ICEM? | llrr | ANSYS Meshing & Geometry | 14 | February 12, 2017 13:44 |
UDF link fortran source | yorelchr | Fluent UDF and Scheme Programming | 0 | February 7, 2013 03:44 |
using METIS functions in fortran | dokeun | Main CFD Forum | 7 | January 29, 2013 04:06 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 12:21 |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 05:06 |