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

flowRateInletVelocity but no mass flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2016, 11:38
Question flowRateInletVelocity but no mass flow
  #1
New Member
 
Join Date: May 2016
Posts: 3
Rep Power: 10
maka15 is on a distinguished road
I'm trying to calculate a scavenged prechamber, currently all boundaries but the inlet are closed, trying to simulate filling the prechamber (filled with N2 and O2) with CH4. Inlet are 6 holes (nozzle of the injector).
I set an flowRateInletVelocity BC on the inlet and tried various pressure BC-types (i.e. fixedFluxExtrapolatedPressure, fixedValue, zeroGradient). I am using rhoPimpleFoam as solver.
With all my pressure BCs the simulation runs just fine and converges well, but when I look at the results, the flowRateInletVelocity-BC seems not to work, as expected
I set a massflow of 0.0001kg/s (part of 0/U attached), but when I look at the results of
Code:
postProcess -func "patchIntegrate(name=Vorkammer_DI_Einlass,phi)"
, phi never exceeds 1e-12 and there is no CH4 getting into the prechamber, but the velocity at the inlet goes up to over 500m/s in the right direction and the temperature is rising around the inlet.
Does anybody have an idea, what I could do wrong, preventing OF from satisfying the massflow-BC?

relevant part of 0/U:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform (0 0 0);

boundaryField
{
(...)
    Vorkammer_DI_Einlass
    {
	type          flowRateInletVelocity;
        massFlowRate    table
		                (
                            (0 0)
                            (0.0003 0.0001)
                            (0.0047 0.0001)
                            (0.005 0)
                        );
        rho               rho;	
        rhoInlet        3.47355;
        value	    uniform (0 0 0);
    }
}
maka15 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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Mass flow rate boundary condition with negative values ashtonJ CFX 3 November 26, 2014 05:21
Convergence problem with target mass flow rate ADL FLUENT 2 May 29, 2012 21:11
mass flow Wenbin Song FLUENT 0 September 27, 2005 13:00
Mass Flow Inlet Pravir Kumar Rai FLUENT 0 February 19, 2003 14:03


All times are GMT -4. The time now is 21:08.