CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   chtMultiRegionFoam (https://www.cfd-online.com/Forums/openfoam-programming-development/120911-chtmultiregionfoam.html)

nimasam July 17, 2013 06:39

chtMultiRegionFoam
 
whats the meaning of following syntax in chtMultiRegionFoam solvers

Code:

if (finalIter) //?
{
    mesh.data::add("finalIteration", true);
}

and then

Code:

if (finalIter)
{
    mesh.data::remove("finalIteration");
}

i found following description for those function:
add:
//- Add a new entry
// With the merge option, dictionaries are interwoven and
// primitive entries are overwritten
and
remove:
//- Remove an entry specified by keyword

but i can not understand their functionality and their role :)

frobaux October 3, 2019 09:52

I am still wondering the exact same thing,


It's a pity you didn't get a answer back then!


All times are GMT -4. The time now is 15:23.