- **OpenFOAM**
(*http://www.cfd-online.com/Forums/openfoam/*)

- - **what kind of boundary condition should I use**
(*http://www.cfd-online.com/Forums/openfoam/102947-what-kind-boundary-condition-should-i-use.html*)

what kind of boundary condition should I use1 Attachment(s)
Dear all
I am simulating an MHD problem .liquid metal flows in a rectangular duct with external magnetic field.Now I run into trouble with the boundary conditions.I attached my details step here: Can you give me some suggestion about the boundary condition of phi(BC)? Thank you! zakir |

Does anyone can give me some suggestions?I am really in trouble with it.
Thank you! zakir |

Greetings Zakir,
OK, you mention the kind of problem you want to solve, but you haven't mentioned yet which solver you are trying to use! Best regards, Bruno |

Thanks for your attention.
I use a solver I wrote myself.It contains the knowdge about finite area method and finite volume method.First I need solve the 3D electric potential equation all the fluid field with initial boundary condition.And then I have to solve a 2D electric potential equation (just like the file I have attached) on the boudary of fluid field. Then I need to use the solution of the 2D electric potential equation as the new boundary condition of solving 3D electric potential equation in the fluid field at the next time step. I wrote my solver just as the attached file. Have I expressed my point clearly? Thank you for your advice. zakir |

Quote:
What you want is a FAM to FVM-coupling right. Something like Code:
` ` PS: please don't send around duplicates of your question via EMail |

Quote:
what kind of boundary condition should I use for electric potential (3D)? regards! zakir |

1 Attachment(s)
Does the initial boundary condition in 0 dictionary paly a role in every time step ? For example when solving the 3D electric potential equation ,does the inputing file of 3D electric potential in 0 dictionary have influence on the solving in every time step?
regards! zakir |

Hi zakir hussein and others,
which version of OF are you using? I was out of touch from OF for a few years, and it seems the the FAM is not part of OF-2.1! Any suggestions? It looks like you are using FAM, so I thought you could help... Thx, Peter |

Hi Peter
As I know,The FAM only exists at OF-1.6.ext.I still have many problem about that.We can discuss together. regards! zakir |

All times are GMT -4. The time now is 05:14. |