|
[Sponsors] |
November 20, 2023, 02:19 |
Calculating Residuals of Field
|
#1 |
New Member
Khoder Alshaar
Join Date: May 2021
Posts: 8
Rep Power: 5 |
Hello,
I'm new to OpenFOAM programming. I'd like to know how to write a loop to calculate L1-norm or L2-norm residuals for a specific field at each time step and plot it if possible. For example, we have the following function to calculate RSS after each time step: How to write the loop to calculate RSS value. Thank you in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[SOWFA] NREL SOWFA ABLTerrainSolver tutorial problem | cico0815 | OpenFOAM Community Contributions | 36 | February 3, 2022 12:54 |
turbulence field omega stops solver | woodie | OpenFOAM Pre-Processing | 1 | January 9, 2022 11:42 |
problems after decomposing for running | alessio.nz | OpenFOAM | 7 | March 5, 2021 05:49 |
Calculating the cosine of a Foam::scalar field | RoE | OpenFOAM | 3 | January 20, 2011 09:49 |
Residuals in the whole field | Jeremie Vareilles | FLUENT | 1 | February 8, 2007 12:42 |