How do I grant access to all?
Rotating Wall Velocity Error of a Fan
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Rotating Wall Velocity Error of a Fan
@hooshsim
I don't get any errors when I run the analysis from your file after changing the translating wall condition to the rotating wall one in the way I described before. Which version of OpenFOAM are you using ?
I don't get any errors when I run the analysis from your file after changing the translating wall condition to the rotating wall one in the way I described before. Which version of OpenFOAM are you using ?
Re: Rotating Wall Velocity Error of a Fan
Same on my side. Can you share the whole 0 —> U file after the modification (adding rotating wall) ? I would compare it with mine.
Re: Rotating Wall Velocity Error of a Fan
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 430;
}
defaultFaces
{
type slip;
value $internalField;
}
}
// ************************************************************************* //
Re: Rotating Wall Velocity Error of a Fan
I have few errands to run...will check in later today. Couple of more snapshots attached in case you need.
Much appreciated
- Attachments
-
- Capture2.PNG (54.39 KiB) Viewed 742 times
-
- Capture1.PNG (102.83 KiB) Viewed 742 times