I have read all the previous t
I have read all the previous threads on source term addition.
My problem is this....
I have to add a source term in the mass conservation equation. This source term is a function of local 'y' co-ordinate and also local 'Uy' (y-component of U)
Lets say, for example....
ddt(rho) + div(phi) == -(rho*Uy)/y
How to add this source term on the right hand side
For the correct addition of a
For the correct addition of a massSource have a look at the dieselFoam-sources.
hi, i have taken a look at it.
hi, i have taken a look at it...
but still i have the problem when I multiply local Uy and local y co-ordinate....
I think i face problem while accessing the local Uy and y-coordinate..
What I meant is, I still could
What I meant is, I still couldn't figure out how to get the y co-ordinates in an array, so that i can manipulate to the right of the equation....
Can any one elaborate on this. Awaiting a reply
Hi Kun try y=mesh.C().com
So same can be done with Uy co
So same can be done with Uy component also... right
http://www.cfd-online.com/OpenFOAM_D...part/happy.gif I am extrememly happy
or should i add like this
Hi Aurun Please note that t
Please note that the components run from 0, thus:
with := meaning defined as.
|All times are GMT -4. The time now is 05:13.|