CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > System Analysis

1D solution with 8 inlets

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2023, 16:49
Default 1D solution with 8 inlets
  #1
New Member
 
Join Date: May 2023
Posts: 1
Rep Power: 0
WCruz is on a distinguished road
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?
Thanks in advance
Attached Images
File Type: png flowrate.png (6.9 KB, 15 views)
File Type: png temperature.png (6.6 KB, 13 views)
WCruz is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
2way FSi, Initialize with steady solution, Fluent, Transient Sturcural, System Coupli mmkkeshavarzi FLUENT 0 June 22, 2016 08:26
Filtering DNS solutions Vs projecting filtered DNS solution juliom Main CFD Forum 5 May 19, 2016 16:06
Analytic solution for 2D steady Euler equations jojo81 Main CFD Forum 0 October 15, 2012 12:05
Two pressure inlets problem Medison CFX 1 August 22, 2012 06:50
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


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