|
[Sponsors] |
May 24, 2023, 17: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? Thanks in advance |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2way FSi, Initialize with steady solution, Fluent, Transient Sturcural, System Coupli | mmkkeshavarzi | FLUENT | 1 | June 28, 2024 08:03 |
Filtering DNS solutions Vs projecting filtered DNS solution | juliom | Main CFD Forum | 5 | May 19, 2016 17:06 |
Analytic solution for 2D steady Euler equations | jojo81 | Main CFD Forum | 0 | October 15, 2012 13:05 |
Two pressure inlets problem | Medison | CFX | 1 | August 22, 2012 07:50 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |