|
[Sponsors] |
May 17, 2021, 03:58 |
Reading of fvOptions
|
#1 |
Member
Chris
Join Date: Dec 2020
Posts: 45
Rep Power: 5 |
Hey,
I would like to change the Input file "fvOptions" in constant folder. Therfore I need to know where and how openFOAM reads the data from fvOptions. Does anybody know where the programm gets the data? fvOptions.C and fvOptions.H does not seem to read the data. It looks like the reading is done earlier in the process. Thanks in advance Chris Last edited by Pyrokrates; May 25, 2021 at 05:16. |
|
May 17, 2021, 06:52 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15 |
The reading of a fvoption is done via a dictionary. https://www.openfoam.com/documentati...8C_source.html
|
|
May 17, 2021, 07:15 |
|
#3 |
Member
Chris
Join Date: Dec 2020
Posts: 45
Rep Power: 5 |
Hi mAlletto,
thanks for your reply. So if I understand correctly, fvOptionIO.C and fvOptionIO.H read my fvOptions file in constant folder. If I want to implement DarcyForchheimer as explicityPorousScource, how does it read my data. I mean how does openFoam read the fvOptions specific for the model and give them to DarcyForchheimer.C and .H. My problem is that I canīt find the whole connection from fvOption.H in the Ueqn.H up to DarcyForchheimer.C. It should be something like fvOptionIO reads my text file and calls porosityModels in some way and inside this i can find DarcyForchheimer. But do you know how the connection is exactly or how I can find it? The API with all the namespaces and classes combined with all that variables seems so confusing for me. Thanks in advance Chris Last edited by Pyrokrates; May 25, 2021 at 05:16. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swakExpression not writing to log | alexfells | OpenFOAM Community Contributions | 3 | March 16, 2020 18:19 |
execFlowFunctionObjects - unknown field problem | Toorop | OpenFOAM Post-Processing | 16 | March 14, 2016 03:25 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |