|
[Sponsors] |
December 5, 2013, 12:30 |
Components of fvm and fvc operators
|
#1 |
New Member
Christopher Hughes
Join Date: Oct 2012
Posts: 27
Rep Power: 13 |
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: rho(dw/dz)+w(drho/dz)=0 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? |
|
January 22, 2014, 03:23 |
|
#2 |
Senior Member
Join Date: Jul 2011
Posts: 120
Rep Power: 14 |
Hi, do you have any progress on this issue? Would like to know too.
|
|
|
|
Similar Threads | ||||
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 |