|
[Sponsors] |
May 13, 2022, 06:42 |
Coded Boundary Condition for Velocity
|
#1 |
New Member
Join Date: Jul 2017
Posts: 14
Rep Power: 8 |
Dear Fomers,
I am currently working with OF2112, and I have used coded BC for inlet velocity. part of my code has: scalar t_ = this->db().time().value(); But when I run the simulation, I get the error: LowRe/0/U.boundaryField.JetInlet.U:59:22: error: ‘const class Foam::PatchFunction1Types::myExpressionPatchFuncti on1VectorField’ has no member named ‘db’ make: *** [/usr/lib/openfoam/openfoam2112/wmake/rules/General/transform:35: Make/linux64GccDPInt32Opt/codedPatchFunction1Template.o] Error 1 --> FOAM FATAL IO ERROR: (openfoam-2112 patch=220310) Failed wmake "dynamicCode/myExpression/platforms/linux64GccDPInt32Opt/lib/libmyExpression_7c98b46426430ac5a842b2ddb24c61d371 1fb165.so" file: 0/U.boundaryField.JetInlet.U at line 40 to 52. From void Foam::codedBase::createLibrary(Foam::dynamicCode&, const Foam::dynamicCodeContext&) const in file db/dynamicLibrary/codedBase/codedBase.C at line 240. FOAM exiting Has anyone had the same problem? Could you please help me? Thank you in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 13:55 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 08:44 |
Accessing multiple boundary patches from a custom boundary condition file | ripudaman | OpenFOAM Programming & Development | 0 | October 22, 2014 18:34 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 17:11 |