I am trying to simulate a rotating fan installed in a box. The model file is setup correctly and a mesh is generated without any error. I have also updated the "U" file in the "0" directory to include the fan speed as outlined below. Once I submit the model for the solution, I get an error as shown in the attached sfile.
Can someone please take a look at my model and tell me what the issue could be here. My model is very similar to this tutorial on Youtube. https://youtu.be/Q10MbSFEiEM
Thanks
Code: Select all
/*--------------------------------*- C++ -*----------------------------------*\
| |
| Generated by the CfdOF workbench for FreeCAD |
| https://gitlab.com/opensimproject/CfdOF |
| |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0.0 0.0 0.0);
boundaryField
{
inlet
{
type flowRateInletVelocity;
massFlowRate 1.0;
rho rho;
rhoInlet 1.2;
value $internalField;
}
outlet
{
type pressureInletOutletVelocity;
value $internalField;
}
wall
{
// movingWallVelocity reduces to fixedValue if the mesh is not moving
type movingWallVelocity;
value uniform (0 0 0);
}
fan
{
// Specified velocity, only component tangential to wall is used
type rotatingwallvelocity;
origin (0. 0. 0.);
axis (0. 0. -1.);
omega constant 430;
}
defaultFaces
{
type slip;
value $internalField;
}
}
// ************************************************************************* //