|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Nico Petry
Join Date: Mar 2009
Posts: 36
Rep Power: 17 ![]() |
Hi!
I want to add the Darcy-term in the simpleFoam solver. I tried this: tmp<fvvectormatrix> UEqn ( fvm::div(phi, U) + turbulence->divR(U)+fvm::SuSp(nu*G,U) ); UEqn().relax(); solve(UEqn() == -fvc::grad(p)); Everything works fine until i changed my Field G from a volScalarField in a volTensorField, because i have directed permeabilities. I tried nu*(G & U), but it did not give the right solution. Hope somebody can help me. Thanks Nico |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Writing solver for U p and T fields | kar | OpenFOAM Running, Solving & CFD | 0 | January 21, 2008 13:36 |
New to writing UDF | Sandilya | FLUENT | 0 | May 31, 2007 12:03 |
Advice needed in writing my own solver... | E. Turner | Main CFD Forum | 1 | September 2, 2006 06:25 |
Solver crashes only while writing a bak file | hagupta | CFX | 1 | April 11, 2006 18:10 |
writing a 3d NS solver in the primitive variables! | lostsoul | Main CFD Forum | 4 | October 20, 2000 02:52 |