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

Calculation of the flow just in x direction in 3D model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2015, 10:38
Default Calculation of the flow just in x direction in 3D model
  #1
New Member
 
Azimi
Join Date: Apr 2014
Posts: 7
Rep Power: 12
cavida is on a distinguished road
Hi bros
How can I set the code or other settings to have a calculation of the fluid flow just in one direction like x. (unidirectional flow)

Note that my model is 3D and I have to solve 3 equations: fluid flow, electric field and magnetic field (my model is MHD)

I want to solve the electric and magnetic fileds in 3 directions (x,y,z) but the fluid flow just in x direction!

Is it possible?

Last edited by cavida; July 6, 2015 at 01:52.
cavida is offline   Reply With Quote

Old   July 2, 2015, 12:02
Default
  #2
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
Hi,

I am not sure if i understood your question properly.

As you are using a 3D model all your equations and components of interest are computed in all 3 directions.

Now, by your inlet boundary condition for fluid velocity{considering this as your fluid flow}, we generally specify the value for velocity of injection as 3D. Here you can specify one direction flow either of x/y/z component.

Based on the equation you are solving in space the flow is propagated in 3 directions.
It would get complicated if you also want to modify your solver to analyze only 1 direction flow for a 3D case. {I guess also you are damping out the accuracy of your actual solution in such case}.

However if you are interested in only one set of results, you can resolve the component of fluid flow using foamCalc utility and extract essential data of interest.

Hope this helps;
Saideep
Saideep is offline   Reply With Quote

Old   July 2, 2015, 13:39
Default
  #3
New Member
 
Azimi
Join Date: Apr 2014
Posts: 7
Rep Power: 12
cavida is on a distinguished road
Thanks for responding dear Saideep

In fact I'm going to compare the results of considering 3-directional fluid flow with the results of unidirectional fluid flow, but the other fields must be solved in 3-directional.

I think foamCalc just extracts the results of 3D solution and that would not work for my comparison.

Last edited by cavida; July 6, 2015 at 01:52.
cavida is offline   Reply With Quote

Old   July 8, 2015, 16:26
Default
  #4
Member
 
Bruno Blais
Join Date: Sep 2013
Location: Canada
Posts: 64
Rep Power: 12
blais.bruno is on a distinguished road
Quote:
Originally Posted by cavida View Post
Hi bros
How can I set the code or other settings to have a calculation of the fluid flow just in one direction like x. (unidirectional flow)

Note that my model is 3D and I have to solve 3 equations: fluid flow, electric field and magnetic field (my model is MHD)

I want to solve the electric and magnetic fileds in 3 directions (x,y,z) but the fluid flow just in x direction!

Is it possible?
What you could do, I am not sure is multiply your flow equations by a [1 0 0]^T vector.

So this way for Ux you would have a normal navier stokes equation, but for the rest you would just have ddt=0 and this would lead to a trivial 0=0 solution. This is the easiest way I can think off to disable the other components while maintaining a 3D mesh... Someone else might have a better solution
blais.bruno is offline   Reply With Quote

Reply

Tags
fluid flow, one-dimensional, one-directional, three-dimensional, unidirectional


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
Help: apply B.C. in my granular flow model ? Derek Jing FLUENT 1 January 8, 2020 21:38
compressible flow calculation error using rhoSimpleFoam solver student4326 OpenFOAM Running, Solving & CFD 7 November 2, 2015 11:34
simpleFoam: switching flow direction with kOmegaSST RAS Model JasonG OpenFOAM Running, Solving & CFD 1 September 25, 2014 07:26
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Unsteady 3d flow and k-eps model J Roued Main CFD Forum 13 August 31, 1999 13:32


All times are GMT -4. The time now is 09:13.