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/)
-   -   boundary conditions on mhdFoam duct flow (https://www.cfd-online.com/Forums/openfoam-solving/95938-boundary-conditions-mhdfoam-duct-flow.html)

fferroni January 8, 2012 13:40

boundary conditions on mhdFoam duct flow
 
Hello everyone,

I have a question regarding the mhdFoam solver in openFOAM.

In the mhdFoam.c description is says that one cannot set any boundary conditions from \vec{J} or the electric potential. Very well... so:

If one needs to set the boundary conditions that describe a wall as i.e. perfectly conducting or perfectly insulating, then how does one go about it (if at all)?

In an induction based approach (I think this is what mhdFoam is), then a perfectly insulating wall would have the induced magnetic field b = 0, and in a perfectly conducting wall db/dn = 0.

Suggestions?

Thanks,

Francesco

levka November 14, 2012 05:32

BC
 
for conducting walls apply for B: zeroGradient at the walls + initial cond.
for insulating walls apply for B: B (.. .. ..) at the walls + initial cond.
got it?


All times are GMT -4. The time now is 18:47.