|
[Sponsors] |
Attempt to cast type fixedValue to type nutWallFunction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 23, 2022, 05:53 |
Attempt to cast type fixedValue to type nutWallFunction
|
#1 |
New Member
ShyamVK
Join Date: Oct 2021
Posts: 2
Rep Power: 0 |
Hello everyone,
I am trying to run pimplefoam with komegaSST for Re = 50000. But I am getting this error for some reason, which I do not know why. Also to note is that, I get this error only when I run in parallel and not when I run otherwise. The error: Attempt to cast type fixedValue to type nutWallFunction at index 4. My input files are as below: k Code:
#include "../system/includeDict"; internalField uniform $k; boundaryField { OUTLET { type inletOutlet; inletValue $internalField; value $internalField; } FAR_FIELD { type symmetry; } INLET { type fixedValue; value $internalField; } CYLINDER { type fixedValue; value uniform $kWall; } SIDES { type empty; } } Code:
#include "../system/includeDict"; internalField uniform $omega; boundaryField { OUTLET { type inletOutlet; inletValue $internalField; value $internalField; } FAR_FIELD { type symmetry; } INLET { type fixedValue; value $internalField; } CYLINDER { type omegaWallFunction; Cmu 0.09; kappa 0.41; E 9.8; beta1 0.075; value uniform $omegaWall; } SIDES { type empty; } } Code:
internalField uniform 0; boundaryField { OUTLET { type calculated; value uniform 0; } FAR_FIELD { type symmetry; } INLET { type calculated; value uniform 0; } /* CYLINDER { type nutUSpaldingWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value uniform 0; } */ CYLINDER { type fixedValue; value uniform 0; } SIDES { type empty; } Thanks in advance. |
|
August 27, 2022, 14:29 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
Check the type of the patch in the constant/boundary file. It must be wall (and not patch)
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
time step continuity error increases with time_SRFSimplefoam | mostafa kamal | OpenFOAM Running, Solving & CFD | 7 | October 2, 2019 02:00 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
Time step continuity error | lpz_michele | OpenFOAM Running, Solving & CFD | 0 | October 12, 2015 06:05 |
Error during initialization of "rhoSimpleFoam" | kornickel | OpenFOAM Running, Solving & CFD | 8 | September 17, 2013 05:37 |
[swak4Foam] Air Conditioned room groovyBC | Sebaj | OpenFOAM Community Contributions | 7 | October 31, 2012 14:16 |