|
[Sponsors] |
November 29, 2023, 00:50 |
OpenFOAM A&H Field dimension
|
#1 |
New Member
ZP zhao
Join Date: Oct 2023
Location: China
Posts: 7
Rep Power: 3 |
Hi everyone. As I know, in the SIMPLE algorithm:
Through the volume integral, the field A should have a dimension of [1 0 -1 0 0 0 0] But actually, the dimension of A is [1 -3 -1 0 0 0 0] which means OpenFOAM cancels out the impact of the volume integral in some way. I'm curious about it. Could anyone tell me the reason? Very thanks. |
|
December 1, 2023, 13:11 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14 |
The dimensions of P are [1 -1 -2 ...] and U are [0 1 -1 ...], so gradP is [1 -2 -2 ...] and gradP/U is [1 -3 -1 ...] which are the dimensions that you report for A, so all working as intended.
As for the volume integral - all terms in the equation are integrated over volume, so it has no impact (i.e. it divides through on each side of the equation). |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
[swak4Foam] swakExpression not writing to log | alexfells | OpenFOAM Community Contributions | 3 | March 16, 2020 19:19 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |