|
[Sponsors] |
December 8, 2019, 21:50 |
Trouble with fvSchemes - Help needed
|
#1 |
New Member
Andrew Lindsay
Join Date: Mar 2009
Location: Perth, Western Australia
Posts: 24
Rep Power: 17 |
I have the following error when I try to run my case file
Code:
--> FOAM FATAL IO ERROR: keyword interpolate((thermo:rho*Cp)) is undefined in dictionary "/mnt/c/Users/andre/OneDrive/Documents/openFOAM/FieldJoint/system/water0/fvSchemes.interpolationSchemes" file: /mnt/c/Users/andre/OneDrive/Documents/openFOAM/FieldJoint/system/water0/fvSchemes.interpolationSchemes From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 573. FOAM exiting Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default steadyState; } gradSchemes { default Gauss linear; } divSchemes { } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { } snGradSchemes { } // ************************************************************************* // Best regards Andrew |
|
December 8, 2019, 22:26 |
|
#2 |
New Member
Andrew Lindsay
Join Date: Mar 2009
Location: Perth, Western Australia
Posts: 24
Rep Power: 17 |
OK - I've changed out the fvSchemes file, but now I have another error.
Code:
PIMPLE: Iteration 1 Solving for solid region water0 --> FOAM FATAL ERROR: cannot be called for a calculatedFvPatchField on patch water0_to_water1 of field h in file "/mnt/c/Users/andre/OneDrive/Documents/openFOAM/FieldJoint/0/water0/h" You are probably trying to solve for a field with a default boundary condition. From function Foam::tmp<Foam::Field<Type> > Foam::calculatedFvPatchField<Type>::gradientInternalCoeffs() const [with Type = double] in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 188. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::calculatedFvPatchField<double>::gradientInternalCoeffs() const at ??:? #3 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacianUncorrected(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #4 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #5 Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #6 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam" #7 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam" #8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #9 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam" Aborted (core dumped) |
|
December 9, 2019, 02:07 |
|
#3 |
Senior Member
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15 |
Please check boundary condition for h field. It has calculated type BC and h is being solved.
|
|
December 9, 2019, 02:13 |
|
#4 |
New Member
Andrew Lindsay
Join Date: Mar 2009
Location: Perth, Western Australia
Posts: 24
Rep Power: 17 |
Where do I find this boundary condition, which file should it be in?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] Waves2Foam Related Topics | ngj | OpenFOAM Community Contributions | 660 | August 20, 2018 12:39 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 13:41 |
[OpenFOAM.org] OpenFOAM 2.1.1 installation on openSUSE 12.2 32 bit | saturn_53 | OpenFOAM Installation | 13 | February 1, 2015 04:17 |
[swak4Foam] Installing swak4Foam to OpenFOAM in mac | Kaquesang | OpenFOAM Community Contributions | 22 | January 21, 2013 11:51 |
compiling firefoam | Farshad_Noravesh | OpenFOAM | 27 | December 24, 2012 04:21 |