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

Fluid flow through a sinusoidal fracture, mass is not conserved.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2019, 20:05
Smile Fluid flow through a sinusoidal fracture, mass is not conserved.
  #1
New Member
 
Wanxin He
Join Date: May 2019
Location: Irvine
Posts: 2
Rep Power: 0
Vicky He is on a distinguished road
Hi all,
I'm now using SimpleFoam to simulate the laminar incompressible flow through a roughness geometry inside ( Sinusoidal fracture), I give it pressure difference at inlet and outlet along y direction (inlet:30 pa; outlet:0 ) to lead the flow happen. However, after 5000 iterations it still not converged. the residual of Ux keep flipping at around 0.0001 although residual of Uy,Uz and Pressure drop very quickly at around 200 iterations(reach 1e-8).
At first I suspect the the residual is calculated after normalization, because Ux is very small, so I add additional pressure different along x direction (front: 5 pa, back:0 ) to make Ux bigger, and it works within my expectation. However, when do the mass conservation check, flux near inlet and outlet is very large and oscillates. inflow and outflow to an element is not equal. But in smooth wall case all are running well.
Can anyone help me to find what is going wrong? Appreciate!
The attachments are my domain geometry, mesh, and residual plot.
Attached Images
File Type: png generalgeometry.png (33.6 KB, 15 views)
File Type: png detail_dense.png (179.8 KB, 14 views)
File Type: png Sinusoidal wall.png (48.7 KB, 15 views)
Vicky He is offline   Reply With Quote

Old   May 12, 2019, 20:15
Default
  #2
New Member
 
Wanxin He
Join Date: May 2019
Location: Irvine
Posts: 2
Rep Power: 0
Vicky He is on a distinguished road
Here are my BCs for p and U:

U:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type zeroGradient;
}

outlet
{
type zeroGradient;
}

upperWall
{
type fixedValue;
value uniform (0 0 0);
}

lowerWall
{
type fixedValue;
value uniform (0 0 0);
}

reactiveWall
{
type fixedValue;
value uniform (0 0 0);
}

front
{
type fixedValue;
value uniform (0 0 0);
}

back
{
type fixedValue;
value uniform (0 0 0);
}
}


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

P:

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
upperWall
{
type zeroGradient;
}

lowerWall
{
type zeroGradient;
}

reactiveWall
{
type zeroGradient;
}

inlet
{
type fixedValue;
value uniform 30;
}

outlet
{
type fixedValue;
value uniform 0;
}

front
{
type zeroGradient;
}

back
{
type zeroGradient;
}

}

// ************************************************** *********************** //
Vicky He is offline   Reply With Quote

Old   September 29, 2022, 22:10
Default
  #3
New Member
 
Join Date: Sep 2022
Posts: 6
Rep Power: 4
chrisyang is on a distinguished road
Hi Vicky,

I am curious how did you generate the wavy wall geometry in OpenFoam? Because I am working on a droplet impact case where the surface is sine wave shape... And I try use spline under edges but did not work... If you do not mind, could you give some hints on it?

Thanks a lot.

Cheers,
Chris
chrisyang is offline   Reply With Quote

Reply

Tags
simplefoam; convergence;


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
Error message: Insufficient Catalogue Size Paresh Jain CFX 33 August 16, 2024 06:09
mass flow rate not conserved in turbomachine, interface defined wrong? wildli FLUENT 3 September 15, 2022 13:19
Wrong multiphase flow at rotating interface Sanyo CFX 14 February 7, 2017 18:19
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
Mass flow not conserved in s/s combustor.plz help Sridhar FLUENT 3 September 17, 2007 08:39


All times are GMT -4. The time now is 04:25.