|
[Sponsors] |
obtainiing and stroing fvScalarMatrix from Spalart Allmaras OpenFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Naive CFD
Join Date: Jun 2021
Posts: 25
Rep Power: 5 ![]() |
Hi All
I am trying to get the fvScalarMatrix nuTildaEqn value from the Spalart-Allmaras turbulence model and print it in main simpleFOAM.C program. I have tried to access it using lookupobject but with no luck. Can any body suggest how i can extract the value of nuTildaEqn matrix and store it in some variable name in the main simpleFOAM application rather than solving it in turbulence model. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
You can run openFoam in the gdbOF debugger (see https://openfoamwiki.net/index.php/Contrib_gdbOF) and use predefined macros to extract the matrix.
Good luck, Domenico. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|