|
[Sponsors] |
Changing the solver (from rhoSimpleFoam to rhoCentralFoam) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 12, 2017, 10:47 |
Changing the solver (from rhoSimpleFoam to rhoCentralFoam)
|
#1 |
New Member
nitw.deepak@gmail.com
Join Date: Dec 2014
Posts: 5
Rep Power: 12 |
Hello,
I want to simulate the pressure pulsation effect in Intake manifolds of IC engine. For that I started my simulation with rhoSimpleFoam with massflow rate at outlet and total Pressure at inlet. I reached with steady state results from rhoSimpleFoam. Now I want to change the boundary condition at outlet to zero (0) massflow rate and want to achieve the pressure pulsation effect. my new BC is like this: Code:
Outlet { type flowRateInletVelocity; rhoInlet 1.1792; massFlowRate table ( (0 -3.2793e-4)// mass flow at the beginning (0.0005 0) // flow reduced to zero in 0.5 milliseconds (1 0) ); } To me, the mass flow should remain constant to -3.2793e-4 kg/s before the time 0.5 milliseconds as the steady state has already been reached using rhoSimpleFoam. I also made the same simulation using rhoPimpleFoam just to monitor massflow rate and I observed that it steady before 0.5 ms. Kindly, suggest me something? Last edited by Tobi; April 12, 2017 at 11:14. Reason: Code Tags Added |
|
April 12, 2017, 11:10 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
If I remember correctly, we make a linear interpolation inbetween the table:
Code:
massFlowRate table ( (0 -3.2793e-4)// mass flow at the beginning (0.0005 -3.2793e-4) // mass constant till that time (0.001 0) // mass decrease in the next 0.5 ms (1 0) );
__________________
Keep foaming, Tobias Holzmann |
|
April 13, 2017, 06:51 |
|
#3 |
New Member
nitw.deepak@gmail.com
Join Date: Dec 2014
Posts: 5
Rep Power: 12 |
Hello Tobi, thanks for the answer. I think it is okay, because i want a linear reduction in flow rate to zero in 0.5 milliseconds and zero flow after that. And i have tested it with rhopimplefoam.
My objective is use the steady state results from rhosimplefoam and then produce the unsteady effects due to reduction in mass flow with unsteady solver. So, i want my unsteady solver to reach first the steady state (steady mass flow) using the rhosimplefoam results. I know that in beginning there will be some oscillations and the flow will stabilize quickly. So , I specified the following: Code: massFlowRate table ( (0 -3.2793e-4) (1 -3.2793e-4) ); And I observed that the mass flow rate gets stable after some time if I make the transition from rhoSimpleFoam to rhoPimplefoam (see the pic).But it is not the case with the rhocentralfoam, the solver i want to use. I think, it is because of the fact that when I compare the the createfields.h for rhoSimpleFoam and rhoPimpleFoam they create the same fields. But rhoCentraleFoam, has some extra fields like rhoE, rhoU, pos in its createfields.h. So, when I impose the steady-state results from rhosimplefoam to rhocentralfoam there are just like an initial guess to it. And that is why the flow does not stabilize quickly. So, may be if I can modify rhoSimpleFoam to create the extra fields like rhoE, rhoU, pos. It can work. What is your opinion? Last edited by DeepIndia; April 13, 2017 at 09:07. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 08:54 |
Hybrid discretisation - blend factor | gcoopermax | CFX | 5 | September 23, 2016 09:05 |
[PyFoam] having problems with pyfoam Installation | vitorspadetoventurin | OpenFOAM Community Contributions | 3 | December 2, 2014 08:18 |
descriptions for rhoCentralFoam solver lines | immortality | OpenFOAM Running, Solving & CFD | 0 | December 1, 2012 19:08 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |