CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

OpenFOAM A&H Field dimension

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2023, 00:50
Default OpenFOAM A&H Field dimension
  #1
New Member
 
ZP zhao
Join Date: Oct 2023
Location: China
Posts: 7
Rep Power: 3
ZX-zha is on a distinguished road
Hi everyone. As I know, in the SIMPLE algorithm:
AU=H-\nabla p
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.
ZX-zha is offline   Reply With Quote

Old   December 1, 2023, 13:11
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14
Tobermory will become famous soon enough
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).
Tobermory is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 06:35.