
[Sponsors] 
July 2, 2015, 10:38 
Calculation of the flow just in x direction in 3D model

#1 
New Member
Azimi
Join Date: Apr 2014
Posts: 6
Rep Power: 4 
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. 

July 2, 2015, 12:02 

#2 
Senior Member
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 135
Rep Power: 3 
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 

July 2, 2015, 13:39 

#3 
New Member
Azimi
Join Date: Apr 2014
Posts: 6
Rep Power: 4 
Thanks for responding dear Saideep
In fact I'm going to compare the results of considering 3directional fluid flow with the results of unidirectional fluid flow, but the other fields must be solved in 3directional. 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. 

July 8, 2015, 16:26 

#4  
Member
Bruno Blais
Join Date: Sep 2013
Location: Canada
Posts: 42
Rep Power: 4 
Quote:
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 

Tags 
fluid flow, onedimensional, onedirectional, threedimensional, unidirectional 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
compressible flow calculation error using rhoSimpleFoam solver  student4326  OpenFOAM Running, Solving & CFD  7  November 2, 2015 12: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 
Help: apply B.C. in my granular flow model ?  Derek Jing  FLUENT  0  May 8, 2002 22:32 
Unsteady 3d flow and keps model  J Roued  Main CFD Forum  13  August 31, 1999 13:32 