|
[Sponsors] |
March 24, 2022, 06:32 |
Finding Q and vorticity for FSI case
|
#1 |
Member
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 5 |
Hello all,
I am stuck trying to post process the results of my FSI simulation to try get data for Q and vorticity. I have managed to get wall shear stress data by using 'wallShearStresss -region fluid', but that does not work for Q or vorticity and I get the output: Code:
options: -DebugSwitches <key1=val1,key2=val2,...> -DimensionedConstants <key1=val1,key2=val2,...> -InfoSwitches <key1=val1,key2=val2,...> -OptimisationSwitches <key1=val1,key2=val2,...> -Tolerances <key1=val1,key2=val2,...> -case <dir> specify alternate case directory, default is the cwd -constant include the 'constant/' dir in the times list -dict <dictionary name> -dumpControlSwitches -latestTime select the latest time -newTimes select the new times -noFunctionObjects do not execute functionObjects -noWrite -noZero exclude the '0/' dir from the times list, has precedence over the -withZero option -parallel run in parallel -roots <(dir1 .. dirN)> slave root directories for distributed running -time <ranges> comma-separated time ranges - eg, ':10,20,40:70,1000:' -srcDoc display source code in browser -doc display application documentation in browser -help print the usage Using: foam-extend-4.1 (see www.foam-extend.org) Build: 4.1-70b064d0f326 Please can somebody please help me to find Q and vorticity from an already completed simulation. Best regards Merlin |
|
March 24, 2022, 09:00 |
|
#2 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Inconveniently, many of the utilities do not yet have the "-region" option.
So your options are:
Example bash code for option 2 to move fluid region fields to the main/default region: Code:
#!/bin/bash for i in $(foamListTimes) do echo "${i}" cd "${i}" mv fluid/* . cd .. done Example bash code for option 2 to move main/default fields back to the fluid region: Code:
#!/bin/bash shopt -s extglob for i in $(foamListTimes) do echo "${i}" cd "${i}" mv !(solid|fluid) fluid/ cd .. done |
|
March 29, 2022, 13:20 |
|
#3 |
Member
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 5 |
Dear Mr Cardiff,
Thank you very much for this response. Sadly I already used option 2 and had to go through and move the files individually and this would have saved a lot of time. But I will absolutely use it again if I need to. Thank you for your help Merlin |
|
Tags |
fsi 2-way coupling, post processing, vorticity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Artefacts in vorticity profile | Goli | OpenFOAM Post-Processing | 0 | March 31, 2021 03:34 |
Vorticity with pimpleDyMFoam | Idasg | OpenFOAM Post-Processing | 1 | March 6, 2019 05:16 |
Choice of numerical schemes for high accuracy in vorticity | D.B | OpenFOAM Running, Solving & CFD | 1 | February 5, 2018 11:44 |
3D vorticity contour | shahzad_munir | Main CFD Forum | 0 | May 1, 2014 03:34 |
vorticity boundary condition | bearcharge | Main CFD Forum | 0 | May 14, 2010 12:32 |