CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Components of fvm and fvc operators

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 5, 2013, 13:30
Default Components of fvm and fvc operators
  #1
otq
New Member
 
Christopher Hughes
Join Date: Oct 2012
Posts: 27
Rep Power: 7
otq is on a distinguished road
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?
otq is offline   Reply With Quote

Old   January 22, 2014, 04:23
Default
  #2
Senior Member
 
Join Date: Jul 2011
Posts: 109
Rep Power: 8
haze_1986 is on a distinguished road
Hi, do you have any progress on this issue? Would like to know too.
haze_1986 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:45.