|
[Sponsors] |
Boundary condition for temperature inlet with sinusoidal motion |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Giulia
Join Date: Feb 2022
Posts: 19
Rep Power: 5 ![]() |
Hello,
I am trying to simulate a tube (solid region) in which a fluid is flowing inside (fluid region). I am using openFoam version 6 and the chtmultiregionfoam solver. The fluid enters the tube at the inlet with a certain initial temperature, flows through the tube, reaches the outlet of the tube, and comes back in a sinusoidal fashion. So it means that once the fluid enters the tube, it remains inside and it moves back and forth. It interacts with the tube walls (which are heated) so the fluid will heat up and increase its temperature. The fluid has a certain inlet temperature and inlet velocity but with time it should absorb the heat generated by the solid region. However, it seems that the at every repetition of the sinusoidal velocity cycle (at 0.1 Hz), the water inlet is always coming back to the initial input temperature. What I want is rather the evolution of the water temperature depending on the solid heat source, given an initial inlet temperature (occurring at t=0 only). How can I impose that? I hope I am being clear. This is the temperature for the water: Code:
dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 293.15; boundaryField { #includeEtc "caseDicts/setConstraintTypes" minX { type fixedValue; value $internalField; } maxX { type zeroGradient; } "(min|max)(Z)" { type empty; ~value; } "water_to_.*" { type compressible::turbulentTemperatureCoupledBaffleMixed; value $internalField; Tnbr T; kappaMethod fluidThermo; } } Code:
dimensions [ 0 1 -1 0 0 0 0 ]; internalField uniform (0 0 0); boundaryField { #includeEtc "caseDicts/setConstraintTypes" minX { type uniformFixedValue; uniformValue sine; uniformValueCoeffs { frequency 0.1; amplitude 0.015; scale (0.7 0 0); level (0 0 0); t0 0; } } maxX { type pressureInletOutletVelocity; value $internalField; } "(min|max)(Z)" { type empty; ~value; } "water_to_.*" { type noSlip; } } Thank you for your help! |
|
![]() |
![]() |
![]() |
Tags |
boundary condition, chtmultiregionfoam, inlet temperature, sinusoidal motion, water flow |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about different kinds of Boundaries and Boundary Conditions | granzer | Main CFD Forum | 17 | April 12, 2022 18:27 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Pressure Inlet Boundary Condition Issue | zoeburton1987 | FLUENT | 0 | May 15, 2012 10:20 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |