|
[Sponsors] |
January 14, 2024, 13:12 |
View the value of a term in the domain
|
#1 |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10 |
Hi,
If I want to see a value of a term in each element of my domain, how is it possible? For example, I would like to visualize the values of DnuTildaEff() present in Smagorinsky's model. SpalartAllmarasDES.C: Code:
template<class BasicMomentumTransportModel> tmp<volScalarField> SpalartAllmarasDES<BasicMomentumTransportModel>:: DnuTildaEff() const { return volScalarField::New ( "DnuTildaEff", (nuTilda_ + this->nu())/sigmaNut_ ); } And... If I want to see the Delta value, how do I do it? Thanks. |
|
January 15, 2024, 05:45 |
|
#2 | |
Senior Member
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5 |
Quote:
You can invoke the write method: Code:
fieldName.write();
__________________
Don't keep making the same mistakes. Try to make new mistakes. |
||
Tags |
openfoam9 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add Source term (2) for PYROLYSIS - reactingOneDim | Kummi | OpenFOAM | 10 | April 12, 2021 22:11 |
Can I achieve better convergence? | sheaker | CFX | 12 | September 19, 2019 16:36 |
Source term for EVAPORATION in Energy Equ. - technical difficulty ? | Kummi | OpenFOAM | 1 | September 9, 2019 10:32 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Closed Domain Buoyancy Flow Problem | Madhatter92 | CFX | 6 | June 20, 2016 22:05 |