Rotating Wall Velocity Error of a Fan

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

hooshsim
Posts: 108
Joined: Mon Nov 05, 2018 7:40 pm

Re: Rotating Wall Velocity Error of a Fan

Post by hooshsim »

NewJoker wrote: Fri Mar 17, 2023 12:28 pm
hooshsim wrote: Fri Mar 17, 2023 12:26 pm Does the link work out for you? First timer on Google Drive
You would also have to set access to "Anyone with the link".
How do I grant access to all?
User avatar
NewJoker
Veteran
Posts: 3079
Joined: Sun Oct 11, 2020 7:49 pm

Re: Rotating Wall Velocity Error of a Fan

Post by NewJoker »

hooshsim wrote: Fri Mar 17, 2023 12:43 pm How do I grant access to all?
Right-click on the folder or file, select "Share" and then choose "Anyone with the link" from the "General access" list.
hooshsim
Posts: 108
Joined: Mon Nov 05, 2018 7:40 pm

Re: Rotating Wall Velocity Error of a Fan

Post by hooshsim »

NewJoker wrote: Fri Mar 17, 2023 12:49 pm
hooshsim wrote: Fri Mar 17, 2023 12:43 pm How do I grant access to all?
Right-click on the folder or file, select "Share" and then choose "Anyone with the link" from the "General access" list.
Shared. Please confirm
User avatar
NewJoker
Veteran
Posts: 3079
Joined: Sun Oct 11, 2020 7:49 pm

Re: Rotating Wall Velocity Error of a Fan

Post by NewJoker »

hooshsim wrote: Fri Mar 17, 2023 12:51 pm Shared. Please confirm
Now it’s working properly.
hooshsim
Posts: 108
Joined: Mon Nov 05, 2018 7:40 pm

Re: Rotating Wall Velocity Error of a Fan

Post by hooshsim »

NewJoker wrote: Fri Mar 17, 2023 1:16 pm
hooshsim wrote: Fri Mar 17, 2023 12:51 pm Shared. Please confirm
Now it’s working properly.
Thank you so much for your help here. Hope someone will figure out the issue. Enjoy your weekend
User avatar
NewJoker
Veteran
Posts: 3079
Joined: Sun Oct 11, 2020 7:49 pm

Re: Rotating Wall Velocity Error of a Fan

Post by NewJoker »

@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 ?
hooshsim
Posts: 108
Joined: Mon Nov 05, 2018 7:40 pm

Re: Rotating Wall Velocity Error of a Fan

Post by hooshsim »

NewJoker wrote: Fri Mar 17, 2023 2:35 pm @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 ?
OpenFOAM v2206 windows 10
User avatar
NewJoker
Veteran
Posts: 3079
Joined: Sun Oct 11, 2020 7:49 pm

Re: Rotating Wall Velocity Error of a Fan

Post by NewJoker »

Same on my side. Can you share the whole 0 —> U file after the modification (adding rotating wall) ? I would compare it with mine.
hooshsim
Posts: 108
Joined: Mon Nov 05, 2018 7:40 pm

Re: Rotating Wall Velocity Error of a Fan

Post by hooshsim »

NewJoker wrote: Fri Mar 17, 2023 2:48 pm Same on my side. Can you share the whole 0 —> U file after the modification (adding rotating wall) ? I would compare it with mine.

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;
    }

}

// ************************************************************************* //

hooshsim
Posts: 108
Joined: Mon Nov 05, 2018 7:40 pm

Re: Rotating Wall Velocity Error of a Fan

Post by hooshsim »

NewJoker wrote: Fri Mar 17, 2023 2:48 pm Same on my side. Can you share the whole 0 —> U file after the modification (adding rotating wall) ? I would compare it with mine.
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
Capture2.PNG (54.39 KiB) Viewed 742 times
Capture1.PNG
Capture1.PNG (102.83 KiB) Viewed 742 times
Post Reply