|December 5, 2013, 13:30||
Components of fvm and fvc operators
Join Date: Oct 2012
Posts: 27Rep Power: 6
I'm trying to solve only certain directions of the continuity equation, but still in a 3D environment.
I understand that I can take the component of a vector with the following:
U.component(2) would return the z velocity.
Now I want to solve the z component of continuity:
Which fvm:: function should I use to solve for w? I know the equation will look like:
fvm::ddz(w) == w/rho*fvc::grad(rho)&mesh.C().component(2)
or do I need to copy the ddt template and make my own ddz function?
|Thread||Thread Starter||Forum||Replies||Last Post|
|what is fvm and fvc||musahossein||OpenFOAM||1||September 26, 2013 22:39|
|Usage of fvm and fvc||dl6tud||OpenFOAM Programming & Development||1||July 27, 2012 18:28|
|Meaning of fvm and fvc||JLight||OpenFOAM||7||October 13, 2011 11:35|
|Questions about the fvc and fvm||starboy1985||OpenFOAM Programming & Development||0||August 2, 2011 15:52|
|fvm vs. fvc||Pascal_doran||OpenFOAM Programming & Development||1||July 8, 2010 15:35|