|
[Sponsors] |
January 10, 2023, 07:48 |
calculatedFvPatchField error in openfoam
|
#1 |
New Member
Rishi Kumar
Join Date: Jun 2022
Posts: 20
Rep Power: 4 |
hey! foamers
I need to use the strain rate in my custom solver so I calculated it by writing the following line in the code const volScalarField strainrate = sqrt(2.0)*mag(symm(fvc::grad(U))); and my solver compile it successfully but when I run my simulation I got the following error FOAM FATAL ERROR: cannot be called for a calculatedFvPatchField on patch inlet of field (1.41421*mag(symm(grad(U)))) in file "/home/rishk686/OpenFOAM/rishk686-10/run/pipeflow_2/berris_mypimple/0.005/(1.41421*mag(symm(grad(U))))" You are probably trying to solve for a field with a default boundary condition. From function Foam::tmp<Foam::Field<Type> > Foam::calculatedFvPatchField<Type>::gradientIntern alCoeffs() const [with Type = double] in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 178. FOAM aborting I am unable to tackle this error. I will be very thankful if someone helps me. Thank you __________________ Rishi K. rishik686 is online now Add to rishik686's Reputation Report Post
__________________
Rishi K. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
How to develop OpenFOAM with CMake and popular IDEs | cosscholar | OpenFOAM Programming & Development | 0 | March 16, 2022 16:17 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |