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

Getting weird pressure distribution and backflow with chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jtei99

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2022, 18:29
Default Getting weird pressure distribution and backflow with chtMultiRegionFoam
  #1
New Member
 
Join Date: Mar 2022
Posts: 4
Rep Power: 4
jtei99 is on a distinguished road
Hi! I'm new to OpenFoam and I'm trying to simulate laminar flow inside a pipe with heat transfer, using a 2D geometry. Initially I was able to simulate the flow without heat transfer using simpleFoam, but when trying to implement it into chtMultiRegionFoam even with constant temperature I get strange results. There's a zone in the wall with -5.3e4 Pa and having back flow. I've been trying different things the whole day with no results, so I'm posting here.

Here's the folder with what I have: https://drive.google.com/drive/folde...AY?usp=sharing

Photos:
https://imgur.com/a/50LZVhL
hdotyao likes this.
jtei99 is offline   Reply With Quote

Old   March 18, 2022, 01:33
Default
  #2
New Member
 
ajithnair's Avatar
 
Ajith U K Nair
Join Date: Sep 2021
Location: Kerala
Posts: 18
Rep Power: 4
ajithnair is on a distinguished road
it might be your boundary conditions. Also there is only one fluid region inside the case setup. Where is the heat getting transferred to. Is here any pipe wall or solid material or another region. I could only see one region
ajithnair is offline   Reply With Quote

Old   March 18, 2022, 08:15
Default
  #3
New Member
 
Join Date: Mar 2022
Posts: 4
Rep Power: 4
jtei99 is on a distinguished road
Yes there is only one fluid region. I applied the boundary condition:
Quote:
wall
{
type externalWallHeatFluxTemperature;
mode coefficient;
Ta uniform 283;
h uniform 200;
kappaMethod fluidThermo;
value uniform 283;
}
I thought with that I could avoid having to define the solid around the fluid, maybe I'm wrong. But now I've borrowed the fvSchemes and fvSolution from another post and was able to get consistent results. Please tell me if I'm using the boundary condition correctly.
jtei99 is offline   Reply With Quote

Old   March 18, 2022, 10:57
Default
  #4
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 used

Code:
p
type            zeroGradient;

U
type            fixedValue;
value           uniform (0 0 0);

p_rgh
type fixedFluxPressure;  gradient uniform 0;

T
type            fixedValue;
value           uniform 301;

kappa 	
type kqRWallFunction; value uniform 0.0; 

alphat
type            alphatJayatillekeWallFunction;
Prt             0.85;
value           uniform 0;

nut
type nutkWallFunction;   value uniform 0;
__________________
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

Reply

Tags
chtmultiregionfoam


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
chtMultiRegionFoam and porous media vainilreb OpenFOAM Running, Solving & CFD 4 April 12, 2023 08:59
Pressure outlet BC help! eishinsnsayshin FLUENT 7 December 3, 2012 23:36
Swirl in backflow on pressure outlets Jonas Larsson FLUENT 17 February 3, 2000 02:14


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