Porous media solving problem
I am trying to solve the NS equation with a sink/source term of inertial and viscous losses and there is one solver (rhoPorousSimpleFoam) given in the OF 1.6 release. I was trying to run the given solver to see how it is implemented. every thing was fine except the porosity part of the problem. Here is in short my first problem with this solver.
1. I have tried to change the porosity value and gives me no change on the result. the porosity was supposed to be between 0 and 1 but nothing is changed on the final result. in the code, it says the porosity is related with the time differential on the main equation but the solver works for steady state. Therefore is this the main problem for not changing the result or there is some where which I missed to do it?
The second condition is that, I changed every thing to fit to my problem, my problem is related to a domain of rectangular region and within this region I want to set a porous region which I can set its porosity as I want. But when I run my solver, the post processing result shows me no porous region and the whole domain becomes the same. But when the run starts, it is showing me that a porous region is created.
So this seems to be a bit complicated to understand from this post but if some one has tried to do around porous media, I would appreciate for any kind of suggestion and help for my mistakes.
Thank u in advance!
Thank you Olesen for your reply,
I can identify the porous cellZone from the paraView by eliminating the other computational domain as you said, But the problem is I was expecting to see a change in the flow within the porous cellZone due to the presence of the porosity which is not the case here. it is showing me the same result as the outside of the porous Region domain. Therefore, may be the problem is on the solver I developed.
If you have done something with porous region problems, is it possible to use the porous media source files developed for rhoPorousSimpleFoam solver as it is for other solvers such as interFoam? I have been trying to see the code in the porous media source file but it seems that you can use it as it is for other solvers too if I am right.
Thank you again!
|All times are GMT -4. The time now is 10:06.|