CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

obtainiing and stroing fvScalarMatrix from Spalart Allmaras OpenFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2021, 23:11
Default obtainiing and stroing fvScalarMatrix from Spalart Allmaras OpenFoam
  #1
New Member
 
Naive CFD
Join Date: Jun 2021
Posts: 25
Rep Power: 5
Deep111090 is on a distinguished road
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.
Deep111090 is offline   Reply With Quote

Old   November 24, 2021, 08:48
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 844
Blog Entries: 1
Rep Power: 19
dlahaye is on a distinguished road
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.
dlahaye is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 17:37.