|
[Sponsors] |
October 4, 2021, 02:41 |
variable.primitivefield() meaning
|
#1 |
New Member
Ibaraki
Join Date: Jul 2021
Posts: 9
Rep Power: 4 |
Hello, I'm trying to modify some files of a program in openfoam. Inside of one of this files (file.C) I have member functions as shown below.
My question is what the usage of .primitiveField(), .primitiveFieldRef and boundaryFieldRef() is. I could not find information regarding this topic and don't understand why they are used. Thank you in advance for your help. / * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // void Foam::Modules::UpdateValues ( const surfaceVectorField& wss, surfaceScalarField& phi, )const { UpdateValues(wss.primitiveField(), ,phi.primitiveFieldRef(), ); forAll(wss.boundaryField(),patchI) { UpdateValues(wss.boundaryField()[patchI], ,phi.boundaryFieldRef()[patchI], ); } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's the meaning of 'w' in 'wmake'? | random_ran | OpenFOAM Programming & Development | 1 | February 11, 2019 16:53 |
Meaning of values in combustion | kane | OpenFOAM Running, Solving & CFD | 1 | May 14, 2018 05:13 |
What is the meaning of pd in foam-extended 3.1 | lxwd | OpenFOAM Running, Solving & CFD | 2 | February 3, 2017 11:54 |
Meaning of Ychar and Ypmma | aylalisa | OpenFOAM Pre-Processing | 2 | October 20, 2013 05:49 |
What's meaning of UDF FUNCTION | zhaoxinyu | Fluent UDF and Scheme Programming | 0 | March 31, 2010 08:04 |