CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   coupledFvVectorMatrix (https://www.cfd-online.com/Forums/openfoam-solving/88914-coupledfvvectormatrix.html)

ngj May 30, 2011 10:33

coupledFvVectorMatrix
 
Dear all,

I have tried to search the forum for coupleFv<Type>Matrix or similar strings, however, without any luck. I am currently looking into programming a solver, which as a start solves the RANS on the one mesh and the Darcy equations in another mesh. I would like to make use of the coupleFvVectorMatrix for the momentum equation and pressure equations, as I presume that the PISO-loop will be easier to implement if both U and p are solved on the same _coupled_ mesh.

The question is that in single mesh configurations, you write

Code:

solve( UEqn == fvc::grad(p) )
while solving the momentum equation, however, what is the corresponding syntax, when I need to compute the pressure gradient on two meshes, e.g. both fvc::grad(p0) and fvc::grad(p1).

Any help is appreciated,

Niels


All times are GMT -4. The time now is 21:40.