|
[Sponsors] |
Plotting residuals and force coefficients on-the-fly using an Allrun script |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 14, 2022, 10:15 |
Plotting residuals and force coefficients on-the-fly using an Allrun script
|
#1 |
New Member
Lennart
Join Date: May 2022
Posts: 15
Rep Power: 4 |
Hi,
I would like to plot the residuals and the force coefficients of my simulations on-the-fly. Therefore, I have created two files for gnuplot as explained in Wolfgang Heydlauff's tutorial: Tutorial of how to plot residuals ! However, I am running my case not from the command line but with an Allrun script like the following: Code:
#!/bin/sh cd ${0%/*} || exit 1 # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # copy 0.orig to 0 cp -r 0.orig 0 # Create mesh runApplication blockMesh # Initialise with potentialFoam solution runApplication potentialFoam rm -f 0/phi # Run the solver runApplication $(getApplication) #------------------------------------------------------------------------------ gnuplot Residuals - gnuplot forceCoeffs - to see the iteration results but I would like to see the graphs during the simulation already. How can I modify my Allrun script to enable the on-the-fly plotting of residuals and force coefficients? Best regards |
|
Tags |
force coefficients, gnuplot, on-the-fly, residuals |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
oscillation in residuals and force coefficients plots | shovaliye2 | FLUENT | 3 | May 30, 2020 14:28 |
Local spikes in force coefficients | sjsivabharathy | OpenFOAM Running, Solving & CFD | 0 | May 1, 2019 15:14 |
Setup/monitor points of pressure and force coefficients | siw | CFX | 3 | October 22, 2010 07:07 |