|
[Sponsors] |
groovy BC time dependent outlet velocity (easy) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 8, 2020, 15:17 |
groovy BC time dependent outlet velocity (easy)
|
#1 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
Hi FOAMers
I implemented a time-dependent velocity condition at a boundary. From the /U directory, it looks like this Code:
outlet { type groovyBC; valueExpression "vector(0,Um*time(),0)"; variables "Um=100;ome=2*pi/5.5;"; timelines (); value uniform (0 -1 0); } This code takes significantly longer than if I use a standard outlet condition of uniform speed -1 (not time dependent). I think the code would run faster if instead of using each timestep I instead used every nth timestep. How can I do this? EDIT: Actually, nevermind, I think I'll go in a complete different direction here. Don't know how to delete post? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 02:36 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
Emergency:UDF for a time dependent parabolic velocity | zumaqiong | Fluent UDF and Scheme Programming | 12 | March 25, 2010 12:00 |