CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

fixing volume fraction at a certain region

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2021, 16:45
Default fixing volume fraction at a certain region
  #1
New Member
 
fredrick
Join Date: Apr 2015
Location: China
Posts: 13
Rep Power: 8
fredrick is on a distinguished road
Greetings

I would like to fix volume fraction of air at 1 (and hence zero for solid particles) during the simulation in a region defined as fluid-part-lower as seen in the code below. My thinking is that i should fix particle velocity at zero in this region and alpha.air and alpha.particles at 1 and 0 respectively. This is however not working. could anyone help me correct the problem

fixedVelocity
{
type vectorFixedValueConstraint;


selectionMode cellZone;
cellZone fluid-part-lower;

fieldValues
{
U.particles (0 0 0);
}

}



volumeFraction
{
type scalarFixedValueConstraint;



selectionMode cellZone;
cellZone fluid-part-lower;

fieldValues
{
alphar.particles 0;
alphar.air 1;

}
}
Attached Images
File Type: jpg figure.jpg (53.7 KB, 3 views)
fredrick is offline   Reply With Quote

Reply

Tags
fluidized bed, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
multiphaseEulerFoam high Courant number Frenk_T OpenFOAM 5 November 24, 2016 03:23
multiphaseEulerFoam (OF2.3.0) : Courant number explodes when running in parallel Mehrez OpenFOAM Running, Solving & CFD 10 May 18, 2016 11:44
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56


All times are GMT -4. The time now is 05:27.