|
[Sponsors] |
June 19, 2013, 10:01 |
Inlet and Outlet b.c. based on mass flux
|
#1 |
Member
Hale
Join Date: May 2013
Posts: 53
Rep Power: 13 |
Hi foamers,
I'm trying to model a dropshaft (using interFoam solver) that contains
Is there any way to define the boundaries based on mass flux? if yes how can I apply it to my case. I really appreciate any help and idea. |
|
August 9, 2013, 01:13 |
|
#2 |
Member
India
Join Date: Oct 2012
Posts: 84
Rep Power: 14 |
Hi Hale,
Did you find any solution to your problem. I am stuck on the same problem i.e applying boundary conditions based on mass flux? Regards, Mayank |
|
August 9, 2013, 03:26 |
|
#3 | |
Member
Hale
Join Date: May 2013
Posts: 53
Rep Power: 13 |
Quote:
Hi Mayank, yes I solved the problem. If you only want to define a boundary condition based on the mass flux then I recommend that you calculate the corresponding velocity (Q=U*A -> U = Q/A) and use the following for velocity and pressure velocity Code:
inFlow { type fixedValue; value uniform (xx 0 0); // define the velocity } Code:
inFlow { type buoyantPressure; value uniform 0; } This boundary condition gives a uniform velocity at the inlet. There is also another boundary condition where you directly can define the mass flux: velocity Code:
inFlow { type flowRateInletVelocity; flowRate xx; // here you define the mass flux value uniform (0 0 0); } Code:
inFlow { type buoyantPressure; value uniform 0; } If you want to know the mass flux through the boundaries then add this function to your controlDict Code:
functions { inletFlux { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); outputControl outputTime; log true; // Output field values as well valueOutput false; source patch; sourceName waterFlow; // write the name of the boundary operation sum; fields ( rho phi alpha1 //define the quantities you want to be printed ); } outletFlux { $inletFlux; sourceName outlet; } } Hope this helps you |
||
Tags |
boundary condition, constant height, interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow inlet and pressure outlet with target mass flow rate | Zigainer | FLUENT | 13 | October 26, 2018 06:58 |
Mass flow inlet and pressure outlet issue | nikhil | FLUENT | 5 | December 11, 2013 13:30 |
Boudaries for bouynat driven flow with additional mass flux at inlet | Charon | CFX | 2 | April 27, 2013 09:02 |
Net mass flow inlet vs outlet | Nigui28 | FLUENT | 1 | August 12, 2011 11:09 |
Mass flow inlet B.C. at exit... | Jack Keays | FLUENT | 2 | October 6, 2000 09:39 |