CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Looking for a simple example with fvOption in OpenFOAM (https://www.cfd-online.com/Forums/openfoam-solving/159822-looking-simple-example-fvoption-openfoam.html)

bibin.sme September 24, 2015 00:55

Looking for a simple example with fvOption in OpenFOAM
 
Can any body explain the use of fvOptions in OpenFOAM with a simple example..

cutter September 25, 2015 04:37

Hi,

please be more specific. It really depends on what you're trying to achieve. The fvOptions functionality can be used to add source terms to the differential equations at run time and is therefore pretty powerful. It can be used to model many different things, from semipermeable materials to rotating systems.

I'd suggest to have a look at the article http://www.sourceflux.de/blog/adding...ons-fvoptions/ that explains the usage within at 2D mixer vessel.

You can also look into the other tutorial cases. You can find cases using fvOptions using the find (used to find files) and tut (changes into the OpenFOAM tutorials directory, when installed correctly) commands.

Here are the results on my machine:
Code:

user:~$ tut
user:/opt/OpenFOAM/OpenFOAM-2.4.0/tutorials$ find . -name fvOptions 
                         
./incompressible/pimpleFoam/channel395/system/fvOptions
./incompressible/simpleFoam/turbineSiting/system/fvOptions
./incompressible/simpleFoam/mixerVessel2D/system/fvOptions
./lagrangian/simpleReactingParcelFoam/verticalChannel/system/fvOptions
./lagrangian/coalChemistryFoam/simplifiedSiwek/system/fvOptions
./lagrangian/reactingParcelFoam/filter/system/fvOptions
./lagrangian/reactingParcelFoam/verticalChannel/system/fvOptions
./lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/system/fvOptions
./lagrangian/LTSReactingParcelFoam/verticalChannel/system/fvOptions
./compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvOptions
./compressible/rhoPimpleFoam/ras/angledDuct/system/fvOptions
./compressible/rhoPimpleFoam/ras/mixerVessel2D/system/fvOptions
./compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvOptions
./compressible/rhoLTSPimpleFoam/angledDuct/system/fvOptions
./compressible/rhoPimplecFoam/angledDuct/system/fvOptions
./heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/fvOptions
./heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/porous/fvOptions
./multiphase/twoPhaseEulerFoam/laminar/injection/constant/fvOptions
./multiphase/driftFluxFoam/ras/mixerVessel2D/constant/fvOptions
./multiphase/multiphaseInterFoam/laminar/mixerVessel2D/constant/fvOptions
./multiphase/interFoam/laminar/mixerVessel2D/constant/fvOptions
./multiphase/interFoam/ras/angledDuct/system/fvOptions

Cutter


All times are GMT -4. The time now is 22:10.