CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   how to get over this problem (http://www.cfd-online.com/Forums/openfoam-solving/67494-how-get-over-problem.html)

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:
solve
(
fvm::laplacian(Cc,p)
)
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 02:13.