# 1D solution with 8 inlets

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

May 24, 2023, 16:49
1D solution with 8 inlets
#1
New Member

Join Date: May 2023
Posts: 1
Rep Power: 0
Hi everyone,

My problem is a fluid flow simulation in a pipe with 8 inlets. I am writing a 1D solution based in FVM, but I have some problems that I cannot handle.
The flow rate is increased along the pipe.
I have been calculated velocity by continuity equation, and added implicit source at energy equation. The pressure is calculated by Darcy Equation, and the density by the ideal gas model.
I don't know why a have the temperature profile as is shown in the figure uploaded.

Part of my code is:

bcs is a list that stores the control volumes with an inlet.

for energy source:
if CV in bcs:
a_P_S[CV] = flowrate at CV inlet
else:
a_P_S[CV] = 0.

for continuity equation:

if CV in bcs:
rho_U_in = flowrate at CV inlet

rho_U_w =flowrate[CV-1]
['U'][CV] = (rho_U_w - rho_U_in) / (rho[CV]*area[CV])

Can anyone help me?
Attached Images
 flowrate.png (6.9 KB, 15 views) temperature.png (6.6 KB, 13 views)

 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 mmkkeshavarzi FLUENT 0 June 22, 2016 08:26 juliom Main CFD Forum 5 May 19, 2016 16:06 jojo81 Main CFD Forum 0 October 15, 2012 12:05 Medison CFX 1 August 22, 2012 06:50 msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58

All times are GMT -4. The time now is 08:10.

 Contact Us - CFD Online - Privacy Statement - Top