|
[Sponsors] |
Dimension error -It don't match the expected dimensions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2023, 02:02 |
Dimension error -It don't match the expected dimensions
|
#1 |
New Member
Hana Suda
Join Date: May 2023
Posts: 3
Rep Power: 3 |
Hi everyone,
I am Hananas and new to OpenFOAM. I am arranging buoyantBoussinesqSimpleFoam so that it can calculate absolute humidity. The name of this new case is "X_buoyantBoussinesqSimpleFoam". However, core dump occurred after I run the code. So I checked the log file, and it said "The dimensions [0 2 -1 0 0 0 0] provided do not match the expected dimensions [0 0 0 0 0 0 0]" My question is; How can I change the expected dimensions [0 0 0 0 0 0 0] to [0 2 -1 0 0 0 0]? The dimensions of DX should be [0 2 -1 0 0 0 0]. So, I need to revise this expected dimensions. I guess it came from the dimensions of X(I set the dimensions of X as [0 0 0 0 0 0 0] because it is [kg/kg(DA)]) I am looking forward to your reply! I attached the files and will write where I revised after this comment. So please confirm them. |
|
May 31, 2023, 02:05 |
Where I revised
|
#2 |
New Member
Hana Suda
Join Date: May 2023
Posts: 3
Rep Power: 3 |
[X_buoyantBoussinesqSimpleFoam]
1. file name: X_buoyantBoussinesqSimpleFoam.C I added #include "XEqn.H" in the 94th line. 2. file name: XEqn.H I created this file (I refered to TEqn.H). 3. file name: readTransportProperties.H I added "Vapor diffusion number" and "Turbulent Schmidt number" in the 20-24th line. 4. file name: createFields.H I added some code to calculate X in the 17-29th line. [hotRoom] 1. file name: 0/X.orig I created this file (I refered to T.orig). And I added \cp 0/X.orig 0/X in the 8th line in Allrun. 2. file name: constant/transportProperties I added "Vapor diffusion number" and "Turbulent Schmidt number" in the 35-39th line. 3. file name: controlDict I revised the name in the 18th line. 4. file name: fvSchemes I added a code related to X in the 34th line. 5. file name: fvSolution I added X in the 28th & 48th & 65th line. |
|
Tags |
absolute humidity, dimensional error, openfoam, solver development |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ParaView: Number of cells/points in mesh and field don't match | Jaggy_Snake | OpenFOAM Bugs | 2 | March 1, 2017 10:06 |
FSI: Pressure and Normal Force don't match with expected values | Geraud | CFX | 6 | August 21, 2012 16:34 |
Match Control and Symmetry Boundary Condtions in a quasi 2D calculation | peterputer | ANSYS Meshing & Geometry | 0 | May 15, 2012 09:53 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
gmsh2ToFoam | sarajags_89 | OpenFOAM | 0 | November 24, 2009 23:50 |