|
[Sponsors] |
November 5, 2020, 13:40 |
PimpleFoam Time Varying Ubar
|
#1 |
New Member
Will M
Join Date: Oct 2020
Posts: 3
Rep Power: 6 |
Hi all,
I am trying to increase Ubar with time so that I may have an unsteady flow. This has been confusing me for some time now. I am using the channel395 case and have looked into using a codedSource to change Ubar, but I couldn't get that to work so if someone has some tips on this please lend a hand. I have also tried adding a term to the UEqn, from which I had a little success because it did increase something, but that something was the pressure gradient as the line, fvOptions.constrain(UEqn); is making things quite difficult by cancelling out my new term by increasing the pressure gradient in the opposite direction to hit the target Ubar that is set in fvOptions. So I thought it would be a good idea to create my own constrain class that doesn't want to ruin my hard work. It is clear to me that this is probably in fact not the most ideal way to get what I want. If anyone could show me the best way of doing this whether it be through a codedSource in fvOptions, or adding my own time varying momentum term to UEqn that would be most appreciated. |
|
March 7, 2022, 02:45 |
|
#2 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17 |
Hello,
I am also trying a similar thing, have you been able to figure this out, to add sinusoidal/time varying ubar in fvoptions? If yes, then please help me, thanks in advance. |
|
August 20, 2022, 02:44 |
|
#3 |
New Member
M. Nasr
Join Date: Jul 2020
Posts: 4
Rep Power: 6 |
||
August 20, 2022, 22:52 |
|
#4 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17 |
Hi,
Unfortunately no, I am still not been able to figure this out. |
|
March 22, 2023, 05:43 |
|
#5 |
New Member
xu
Join Date: Mar 2022
Posts: 2
Rep Power: 0 |
Hi,
add sinusoidal/time varying ubar in fvoptions is finish?If yes, please help me,thanks in advance |
|
March 23, 2023, 10:22 |
|
#6 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17 |
Hi, instead to directly implement ubar, I tried to do the following:
Could pressure gradient be modelled as "vectorCodedSource" in fvoptions at inlet |
|
Tags |
channel395, classes, fvoptions, meanvelocityforce, ubar |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
[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 |