|
[Sponsors] |
time-varying flowRateInletVelocity bc for OF5 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 7, 2018, 08:36 |
time-varying flowRateInletVelocity bc for OF5
|
#1 |
New Member
Join Date: Jan 2018
Posts: 4
Rep Power: 8 |
Hi, guys:
I'm new to openfoam. I have implemented a steady state flowRateInletVelocity in OF5 and it works: Inlet { type flowRateInletVelocity; volumetricFlowRate 3.0; value uniform (0 0 0); } But, when I try to have a time-varying polynomial flowrate: Inlet { type flowRateInletVelocity; volumetricFlowRate polynomial ((3.0 0) (0.2 1)); // = 3*t^0 + 0.2*t^1 value uniform (0 0 0); } The simulation blows up. Even if I test polynomial ((3.0 0) (0 0)), which should be the same as constant flow rate 3.0, the simulation blows up. Is there anything wrong with the syntax of using polynomial for flowRateInletVelocity? Or the polynomial variable is no longer the time "t" but something else in OF5? Alex |
|
February 7, 2018, 18:02 |
|
#2 |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15 |
What are you trying to achieve?
Are you trying to run simpleFOAM (steady) with ramping flowrate with increasing iteration or run a pimpleFOAM with pseudo steady with ramping flowrate with time> Cheers, Jay :-) |
|
February 7, 2018, 20:50 |
|
#3 |
New Member
Join Date: Jan 2018
Posts: 4
Rep Power: 8 |
Hi, Jay:
I am doing a time varying flowrate by running pimpleFOAM. The time varying flowrate is prescribed by a polynomial, like Q=a*t^0+b*t^1+c*t^2+d*t^3+............. It should be straight forward syntax as it is used in uniformFixedValue boundary condition. I'm just wondering is there any change with the syntax for "flowRateInletVelocity" in latest OF5? Or what is the right way to do it in OF5? Thank you! Alex |
|
February 7, 2018, 21:01 |
|
#4 |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15 |
I thinl you are missing the uniformValue keyword before the polynomial
volumetricFlowRate uniformValue polynomial ( (3.0 0) (0.2 1) ); // = 3*t^0 + 0.2*t^1polynomial |
|
February 11, 2018, 14:55 |
|
#5 |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Well, your simulation blows up because as t-->infinity, Q-->infinity
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 8, 2024 00:17 |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 03:36 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |