|
[Sponsors] |
How the flow direction is determined in fvOptions? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 13, 2021, 02:40 |
How the flow direction is determined in fvOptions?
|
#1 |
New Member
Erol Bicer
Join Date: Apr 2021
Location: Seoul
Posts: 4
Rep Power: 5 |
Hello, everyone!
I am working with twoPhaseEulerFoam solver to simulate air injection to a large tank. Here, the air inlet velocity is quite high (Jg~150 m/s) and the nozzle diameter is about 5 mm. In the tutorials (tutorials/multiphase/twoPhaseEulerFoam/laminar/injection/constant/fvOptions) they used fvOptions to replicate the injector which is given below. There are a few things I don't understand here:
I have just started to learn OpenFOAM this week and I am coming from a system code background as a user so please go easy on me Thank you for your help in advance, Erol. Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // injector1 { timeStart 0.1; duration 5; selectionMode points; points ( (0.075 0.2 0.05) ); } options { massSource1 { type scalarSemiImplicitSource; $injector1; volumeMode absolute; injectionRateSuSp { thermo:rho.air (1e-3 0); // kg/s } } momentumSource1 { type vectorSemiImplicitSource; $injector1; volumeMode absolute; injectionRateSuSp { U.air ((0 -1e-2 0) 0); // kg*m/s^2 } } energySource1 { type scalarSemiImplicitSource; $injector1; volumeMode absolute; injectionRateSuSp { e.air (500 0); // kg*m^2/s^3 } } } // ************************************************************************* // |
|
Tags |
direction, fvoptions, multiphase, twophaseeulerfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Assigning Direction to flow | akki_malik | SU2 | 8 | December 12, 2019 06:56 |
Flow being directed to one direction | rahulksoni | OpenFOAM Running, Solving & CFD | 0 | March 5, 2019 01:13 |
How to change flow direction during a transient analysis? | kaufparkangucker | Fluent UDF and Scheme Programming | 9 | June 22, 2017 20:29 |
Using fvOptions in order to simulate oscillatory flow | vahidet | OpenFOAM Running, Solving & CFD | 5 | July 13, 2015 03:06 |
Can 'shock waves' occur in viscous fluid flows? | diaw | Main CFD Forum | 104 | February 16, 2006 05:44 |