CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   how to get over this problem (

keishawillstone August 17, 2009 06:46

how to get over this problem
Hi guys!
I'm dealing with porous media wherein the velocity is proportional to the pressure:
At this point I kicked out the source term!
U = -CoefU*fvc::grad(p)
CoefU is volscalarfield
when I solve
solve( fvm::div(phiv,yN2));
yN2 is volscalarfield and stands for mass fraction
the code crashes at this point!!
but when I take the velocity as constant it runs well!!
I dont know but I'm quite stuck!!!
Can somebody help me out please?
Thanks in advance
Best Regards,

All times are GMT -4. The time now is 12:49.