CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: mAlletto
Forum: OpenFOAM Programming & Development February 8, 2021, 16:01
Replies: 5
Views: 1,186
Posted By mAlletto
volScalarField& vapor = ...

volScalarField& vapor =
const_cast<volScalarField&>
(
mesh().lookupObject<volScalarField>("vapor")
)



Lookupobject gives you a constant reference and you have to cast it to modify it
Forum: OpenFOAM Programming & Development February 8, 2021, 08:37
Replies: 5
Views: 1,186
Posted By mAlletto
There are coded function objects. Is this from...

There are coded function objects. Is this from help?

If there are two fields with the same name one may beoverridden. The fields are stored via a hash table in the database. The key is the name...
Forum: OpenFOAM Programming & Development February 8, 2021, 06:55
Replies: 5
Views: 1,186
Posted By mAlletto
I did not exactly understand what you want to do...

I did not exactly understand what you want to do but there is a scalarTransport function object OF


https://www.openfoam.com/documentation/guides/latest/doc/guide-fos-solvers-scalar-transport.html
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 13:22.