|
[Sponsors] |
November 22, 2013, 09:18 |
div and laplacian
|
#1 |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
Hi friends,
I want to generate some equations in open foam. My interest is to generate (d2v/dx2)+(d2v/dy2). But in openfoam there is "div" and "laplacian" commands which make equations in x, y and z directions and I want just in x and y directions. What can I do? Thank you in advance for your help and comments. Kind Regards |
|
November 22, 2013, 09:32 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
Use a 2D mesh, i.e. flat and parallel front and back planes, with only one cell. Set the boundary conditions to empty.
|
|
November 22, 2013, 09:40 |
|
#3 |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
||
November 23, 2013, 07:12 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hallo,
This basically means that you are solving a system in 3D, which is of the form: I believe that the Laplacian operator in OpenFoam does support a diffusivity as a tensor of rank two, which basically means that the above equation could be re-written as: where and . Good luck, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
November 25, 2013, 04:28 |
|
#5 | |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
thank you. I think I could not transform my words. I want to apply the below equation, what's the mathematical description of this equation in open foam?
-∂p/∂x=μ((∂^2 v)/(∂y^2 )+(∂^2 v)/(∂z^2 )) Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about scalar transport | osimonsimon | OpenFOAM Running, Solving & CFD | 33 | August 21, 2020 10:45 |
Passive scalar transport | novyno | OpenFOAM Running, Solving & CFD | 10 | May 5, 2016 13:31 |
Convection-diffusion in 1D : wrong solution for a large Delta x | nuovodna | OpenFOAM | 15 | October 20, 2010 13:36 |
Implementation of div, laplacian, etc and variables | sven | OpenFOAM | 3 | July 19, 2009 18:18 |
Dimensions of laplacian in PISO loop | kumar2 | OpenFOAM Running, Solving & CFD | 2 | July 3, 2006 14:34 |