|
[Sponsors] |
October 5, 2014, 12:22 |
Source Term to pisoFoam
|
#1 |
New Member
Desanga
Join Date: Dec 2013
Posts: 19
Rep Power: 12 |
Hello,
I need to add source term to pisoFoam. Currently I'm doing it following way fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) + turbulence->divDevReff(U) == ro.initForce(U,mesh,Fw) ); ro.initForce(U,mesh,Fw) returns volVectorField but I cannot see any signification change in my results. normally is this the way to add any source term to pisoFoam solver? Am I doing it right in Openfoam perspective? further I'm using homogeneous dynSmagorinsky model as a LES model Thanks in advance |
|
October 11, 2014, 02:54 |
|
#2 |
New Member
Song
Join Date: Nov 2011
Posts: 12
Rep Power: 14 |
i suggest, you should turn to "fvOption" source (in directory OpenFOAM-2.2.x/src ) to add source in to equations.
|
|
October 11, 2014, 09:13 |
|
#3 | |
New Member
Desanga
Join Date: Dec 2013
Posts: 19
Rep Power: 12 |
Quote:
Dear song, Thanks for ryour eply, I'm also thinking about this fvoption. what is the difference between adding explicit source term as in 1# and using fvoption. if you are familiar with fvoptions, please elaborate more information. it might enable faster implementation of code Thanks |
||
October 11, 2014, 09:26 |
|
#4 |
New Member
Song
Join Date: Nov 2011
Posts: 12
Rep Power: 14 |
maybe you can refer to some tutorials.
use some search tools(software) , to see which tutorials have "fvOption" files in directory "system", then look into them carefully. sorry, i am a new foamer, too, and this is all i can help you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPU Linear Solvers for OpenFOAM | gocarts | OpenFOAM Announcements from Other Sources | 37 | August 17, 2022 14:22 |
[Other] OpenFOAM Installation for navalFoam | sachinlb | OpenFOAM Community Contributions | 22 | July 28, 2017 05:26 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 12:41 |
Gravity source term in PisoFoam | DanM | OpenFOAM Running, Solving & CFD | 4 | May 24, 2013 11:30 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 03:43 |