|
[Sponsors] |
Error: cannot be called for a calculatedFvPatchField |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 10, 2021, 07:48 |
Error: cannot be called for a calculatedFvPatchField
|
#1 |
New Member
Mert
Join Date: Nov 2020
Posts: 3
Rep Power: 5 |
Hello,
I'm trying to run a tutorial with an edited solver (this solver has the solid part of the heatTransfer solver chtMultiRegionTwoPhaseEuerFoam and the fluid part of the multiphase solver interCondensatingEvaporatingFoam. I basically combined both solvers). It runs without a problem until the first PIMPLE iteration and then it gives me the following error: Code:
PIMPLE: iteration 1 --> FOAM FATAL ERROR: cannot be called for a calculatedFvPatchField on patch region0_to_solid of field alpha.liquid in file "/home/ws/uwdpr/OpenFoam_Source/OpenFOAM-v2006/tutorials/Case_Mert3/0/alpha.liquid" You are probably trying to solve for a field with a default boundary condition. From Foam::tmp<Foam::Field<Type> > Foam::calculatedFvPatchField<Type>::valueInternalCoeffs(const Foam::tmp<Foam::Field<double> >&) const [with Type = double] in file /home/ws/uwdpr/OpenFoam_Source/OpenFOAM-v2006/src/finiteVolume/lnInclude/calculatedFvPatchField.C at line 151. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::exitOrAbort(int, bool) at ??:? #2 Foam::calculatedFvPatchField<double>::valueInternalCoeffs(Foam::tmp<Foam::Field<double> > const&) const in ~/OpenFoam_Source/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/myinterCondensatingEvaporatingFoam #3 Foam::fv::gaussConvectionScheme<double>::fvmDiv(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in ~/OpenFoam_Source/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/myinterCondensatingEvaporatingFoam #4 ? in ~/OpenFoam_Source/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/myinterCondensatingEvaporatingFoam #5 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 #6 ? in ~/OpenFoam_Source/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/myinterCondensatingEvaporatingFoam I don't understand why it gives me this error and what this error means Thank you in advance. Best regards, Mert |
|
April 12, 2021, 03:14 |
|
#2 |
Member
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 45
Rep Power: 6 |
Hello,
What are the alpha.liquid's boundary condition in 0 folder? I guess You are probably using a type "calculated" on the patch "region0_to_solid" when this is not allowed for such a parametre. |
|
April 16, 2021, 04:53 |
|
#3 |
New Member
Mert
Join Date: Nov 2020
Posts: 3
Rep Power: 5 |
Hi Lorenzo210,
yes I was trying to use a type "calculated". Thanks for your reply |
|
Tags |
boundary condition, chtmultiregionfoam, foam fatal error, intercondensatingevaporat, tutorial |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 04:37 |
How is the turbulence model called in openfoam? | hz283 | OpenFOAM | 3 | May 4, 2017 21:20 |
terminate called after throwing an instance of 'int' | b614910 | SU2 | 10 | July 27, 2014 22:16 |
understanding how turbulence models are called | romant | OpenFOAM Programming & Development | 0 | March 21, 2012 09:22 |
reconstructParMesh not working with an axisymetric case | francesco | OpenFOAM Bugs | 4 | May 8, 2009 05:49 |