CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

fixing boundary condition in multi physic openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2021, 10:33
Default fixing boundary condition in multi physic openfoam
  #1
New Member
 
Join Date: Aug 2021
Posts: 7
Rep Power: 5
H...G is on a distinguished road
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.
H...G is offline   Reply With Quote

Old   August 9, 2021, 11:16
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   August 10, 2021, 02:22
Default
  #3
New Member
 
Join Date: Aug 2021
Posts: 7
Rep Power: 5
H...G is on a distinguished road
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!!!
H...G is offline   Reply With Quote

Old   November 5, 2021, 06:46
Default
  #4
New Member
 
Jérémy Chevalier
Join Date: Feb 2021
Posts: 10
Rep Power: 5
JeremyChvlr is on a distinguished road
Hello,

I have the same problem, did you manage to fix it?


Jeremy
JeremyChvlr is offline   Reply With Quote

Reply

Tags
boundaries condition, chtmultiregionfoam, multiphysic, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 20:12.