CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

divergence prob - Rotating disk in the cavity with inlet and outlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2024, 05:19
Default divergence prob - Rotating disk in the cavity with inlet and outlet
  #1
New Member
 
Join Date: Jan 2024
Posts: 1
Rep Power: 0
Igor GAO is on a distinguished road
Hi, everyone.
I'm a newer to OpenFoam. I want to simulate the flow of one rotating disk in the cavity with inlet and outlet. Firstly, the simulation using icoFoam solver with laminar nonrotating case is ok .
But when I give the rotating speed by using the rotatingWallVelocity, the code doesn't work. The error is "Floating point exception" .
I think it should not be due to the mesh, because I can get the results with ANSYS Fluent.

Here's my code. Can anyone give me some advices?
::::::::::::::::: file::::::::::::::::::::::::
dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
INLET
{
type zeroGradient;
}
OUTLET
{
type fixedValue;
value $internalField;
}
ROTOR
{
type zeroGradient;
}

STATOR
{
type zeroGradient;
}
}

::::::::::::::::::U file::::::::::::::::::::::::
dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
INLET
{
type fixedValue;
value uniform (-0.283 0 0);
}
OUTLET
{
type zeroGradient;
}

ROTOR
{
type rotatingWallVelocity;
origin (0 0 0);
axis (1 0 0);
omega 262;
}

STATOR
{
type noSlip;
}
}

Last edited by Igor GAO; January 11, 2024 at 05:24. Reason: adding extra information
Igor GAO is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OLAFLOW] The OLAFLOW Thread Phicau OpenFOAM Community Contributions 459 September 12, 2024 12:47
interFoam: defining boundary conditions (at inlet and outlet) based on water heights atul1018 OpenFOAM Running, Solving & CFD 0 January 2, 2024 10:31
[waves2Foam] Initial water level is not horizontal, but U shaped towards domain inlet and outlet noodleluvmay OpenFOAM Community Contributions 2 April 27, 2023 13:24
boundary condition for coupled inlet and outlet xxxx OpenFOAM Pre-Processing 2 August 13, 2013 16:51
VOF Outlet boundary condition in cfd - ace JM Main CFD Forum 0 December 15, 2006 09:07


All times are GMT -4. The time now is 00:11.