|
[Sponsors] |
fixing boundary condition in multi physic openfoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Aug 2021
Posts: 7
Rep Power: 5 ![]() |
Hi,
I am modeling a multi physic problem using chtmultiregionfoam in Openfoam. there are two solid regions in my problem and both thermal and electric equations should be solved. currently, I'm learning how to improve the solver with electric equation. But I have no idea to set the boundary condition at the interface of the regions. the following B.C. should be defined : Q(at region 1)=Q(at region 2) Q(at region 2)=-K*grad(T) Q(at region 1)=-K*grad(T)+s*sigma*T*(grad(v)+s*grad(T)) s,k and sigma are constant; T an v are temperature and electric potential field. the main trouble is to define the term (s*sigma*T*(grad(v)+s*grad(T))) at boundary which is not included in openfoam intrinsic boundary conditions. I will be really grateful if anyone can help me. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 ![]() |
I don't know your problem / your question. But I recommend separating the physics and split into two or three simulations, each for every physical effect. Normally, that is much more stable and therewith, much more accurate.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Aug 2021
Posts: 7
Rep Power: 5 ![]() |
Thank you for your response,
But the governing equations are coupled and can not be solved separately. fortunately, I found the method of defining equations; However the coupled boundary condition at the interface of the regions is still the problem!!! |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Jérémy Chevalier
Join Date: Feb 2021
Posts: 10
Rep Power: 5 ![]() |
Hello,
I have the same problem, did you manage to fix it? Jeremy |
|
![]() |
![]() |
![]() |
Tags |
boundaries condition, chtmultiregionfoam, multiphysic, openfoam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fatal overflow in linear solver. | iamnotfajar | CFX | 9 | October 28, 2020 04:47 |
Open boundary condition in OpenFOAM | t.oliveira | OpenFOAM Running, Solving & CFD | 3 | December 6, 2017 09:59 |
Total Pressure boundary condition in the OpenFOAM | dli | OpenFOAM Programming & Development | 1 | December 5, 2017 23:16 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 17:38 |
How to set outflow boundary condition in openfoam | gejiabin | OpenFOAM Running, Solving & CFD | 4 | March 11, 2014 07:16 |