# Boundary condition for temperature inlet with sinusoidal motion

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 24, 2022, 04:50 Boundary condition for temperature inlet with sinusoidal motion #1 New Member   Giulia Join Date: Feb 2022 Posts: 19 Rep Power: 4 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; } }``` And this is the code for the water velocity: 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!

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post granzer Main CFD Forum 17 April 12, 2022 18:27 hinca CFX 15 January 26, 2014 18:11 Anna Tian CFX 1 June 16, 2013 07:28 zoeburton1987 FLUENT 0 May 15, 2012 10:20 Pankaj CFX 9 November 23, 2009 05:05

All times are GMT -4. The time now is 02:09.

 Contact Us - CFD Online - Privacy Statement - Top