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

2D flow with non zero out-of-plane component

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2012, 11:07
Default 2D flow with non zero out-of-plane component
  #1
New Member
 
Guillaume Terlinden
Join Date: Nov 2011
Posts: 11
Rep Power: 14
mevoili is on a distinguished road
Hi foamers!

I'm trying to compute a 2D flow in the (x,y) plane but the trick is that flow has non zero Ux Uy and Uz component. All components are functions of x and y only though.
Does anybody know how I can do such a run ?
The problem is, with "empty" BC to have a 2D case, the Uz component is set to zero by the solver (even though the inflow Uz is non zero)...

What I am currently doing is computing a 3D flow with a few cells in the z direction and with cyclic BC, but this is not computationnally efficient at all, so I am trying to find a way to resolve the system in 2D only.
mevoili is offline   Reply With Quote

Old   October 27, 2012, 08:57
Default
  #2
Member
 
Carlos Xisto
Join Date: Nov 2009
Location: Covilhã, Portugal
Posts: 53
Rep Power: 16
xisto is on a distinguished road
Send a message via MSN to xisto
Quote:
Originally Posted by mevoili View Post
Hi foamers!

I'm trying to compute a 2D flow in the (x,y) plane but the trick is that flow has non zero Ux Uy and Uz component. All components are functions of x and y only though.
Does anybody know how I can do such a run ?
The problem is, with "empty" BC to have a 2D case, the Uz component is set to zero by the solver (even though the inflow Uz is non zero)...

What I am currently doing is computing a 3D flow with a few cells in the z direction and with cyclic BC, but this is not computationnally efficient at all, so I am trying to find a way to resolve the system in 2D only.
My suggestion is to write an equation to each component of Ux, Uy, Uz.

Carlos
xisto is offline   Reply With Quote

Old   October 29, 2012, 05:46
Default
  #3
New Member
 
Guillaume Terlinden
Join Date: Nov 2011
Posts: 11
Rep Power: 14
mevoili is on a distinguished road
What do you mean ? Should I write my own solver then ?
mevoili is offline   Reply With Quote

Old   October 29, 2012, 06:31
Default
  #4
Member
 
Carlos Xisto
Join Date: Nov 2009
Location: Covilhã, Portugal
Posts: 53
Rep Power: 16
xisto is on a distinguished road
Send a message via MSN to xisto
Quote:
Originally Posted by mevoili View Post
What do you mean ? Should I write my own solver then ?
Yes! You should write your own solver..

You need something like this.


fvScalarMatrix UxEqn
(
fvm::ddt(rho, Ux)
+ fvm::div(phi,Ux)
+ fvc::grad(p).component(vector::X) // The x component for the gradient term.
);
xisto is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi Component Flow Modeling bmatsuo ANSYS 0 June 23, 2011 20:13
Plane, which traps particules but don't alter flow Julian K. FLUENT 2 November 10, 2008 18:58
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 05:44
mass flow inlet Denis Tschumperle FLUENT 7 August 9, 2000 02:19
component flow direction fieldnames for boundary profiles required. Ricky Wong FLUENT 1 May 12, 2000 10:36


All times are GMT -4. The time now is 23:28.