|
[Sponsors] |
February 23, 2016, 03:00 |
surfaceNormalFixedValue depends on pressure
|
#1 |
New Member
Radek Sevcik
Join Date: Apr 2015
Location: Brno, Czech Republic
Posts: 4
Rep Power: 11 |
Hello,
I have a simulation with cylindrical inlet (rocket engine with solid propellant). Gas flow thru surface of cylinder, so I use surfaceNormalFixedValue inlet { type surfaceNormalFixedValue; refValue uniform -1.1269; } But there is a problem. Velocity of inlet gas depends on actual pressure u = u0 . p^k where u0 and k are constant. Do you have any idea how to do it? Thaks. |
|
June 29, 2018, 07:24 |
|
#2 | |
Member
Alberto
Join Date: Sep 2013
Posts: 37
Rep Power: 12 |
Quote:
Did you ever accomplish this?...Does any body knows how to do this? The portion of the code in surfaceNormalFixedValue.C to modify would be: Code:
Foam::newNormalVelFvPatchVectorField:: newNormalVelFvPatchVectorField ( const fvPatch& p, const DimensionedField<vector, volMesh>& iF, const dictionary& dict ) : fixedValueFvPatchVectorField(p, iF, dict, false), refValue_("refValue", dict, p.size()) { fvPatchVectorField::operator=(refValue_*patch().nf()); } Code:
const volScalarField& Pw = db().lookupObject<volScalarField>("p"); |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind tunnel Boundary Conditions in Fluent | metmet | FLUENT | 6 | October 30, 2019 12:23 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 05:35 |
Pressure loss Velocity coupling | CFXMUFFIN | CFX | 1 | February 6, 2016 04:43 |
Discharge of Pressure Vessel into Pipe with Regulator | gajowni2 | System Analysis | 0 | October 31, 2015 18:57 |
Unsteady pressure differential between inlet and outlet of the pipe for single phase | joshi20h | FLUENT | 0 | September 26, 2012 12:41 |