View Issue Details

IDProjectCategoryView StatusLast Update
0003849OpenFOAMFeaturepublic2022-06-17 17:12
Reporterdaronciyakian Assigned Tohenry  
PrioritynoneSeveritytrivialReproducibilityhave not tried
Status closedResolutionno change required 
PlatformUnixOScentos 7OS Version(please specify)
Product Version9 
Summary0003849: 1024^3 grid can not be created by blockMesh
DescriptionI tried to create 1024 cell all three direction totally order of 1 billion cell but I couldn't get it.

blocks
(
    hex (0 1 2 3 4 5 6 7) (1024 1024 1024) simpleGrading (1 1 1)
);

I tried this on hpc system which has 510 gb memory. Output of blockMesh can be found in attachment.


I tried to get same mesh on my computer (64gb memory) by Pointwise v18.1R2 and I could create mesh. Pointwise create 150gb polyMesh files for this mesh. So it is not memory issue.

When I tried to use polyMesh files which created by Pointwise I came a cross error might be same problem in blockMesh it exceed the integer limit. Number of faces exceed the limit of integer.

--> FOAM FATAL IO ERROR: (openfoam-2012)
incorrect first token, expected <int> or '(', found on line 10: double 3.21494e+09


I guess when OpenFOAM was written no one think about face number can exceed integer limit ))
 
TagsNo tags attached.

Activities

daronciyakian

2022-06-17 14:49

reporter  

slurm-585989.out (1,866 bytes)   
OpenFOAM icin bu module ilaveten asagidaki komutu da calistiriniz:
source /okyanus/progs/OpenFOAM/9.0/OpenFOAM-9/etc/bashrc WM_LABEL_SIZE=64 WM_MPLIB=SYSTEMOPENMPI
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 9
Exec   : blockMesh
Date   : Jun 15 2022
Time   : 17:22:16
Host   : "f014"
PID    : 11171
I/O    : uncollated
Case   : /okyanus/users/sturk/OpenFOAM/sturk-v2012/run/test/myhopkins_1024_decay
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Reading "blockMeshDict"

Creating block mesh from
    "system/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks
Creating topology patches

Creating block mesh topology

Check topology

	Basic statistics
		Number of internal faces : 0
		Number of boundary faces : 6
		Number of defined boundary faces : 6
		Number of undefined boundary faces : 0
	Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 6.28319
    Block 0 cell size :
        i : 0.00613592
        j : 0.00613592
        k : 0.00613592
/var/spool/slurmd/job585989/slurm_script: line 17: 11171 Killed                  blockMesh
slurm-585989.out (1,866 bytes)   

henry

2022-06-17 17:11

manager   ~0012627

To create a mesh with that many cells you will need to compile OpenFOAM-9 or dev with 64bit labels.

> I guess when OpenFOAM was written no one think about face number can exceed integer limit

I did and added 64bit label support as an option.

henry

2022-06-17 17:12

manager   ~0012628

User error.

Issue History

Date Modified Username Field Change
2022-06-17 14:49 daronciyakian New Issue
2022-06-17 14:49 daronciyakian File Added: slurm-585989.out
2022-06-17 17:10 henry Priority normal => none
2022-06-17 17:10 henry Severity feature => trivial
2022-06-17 17:10 henry Category Bug => Feature
2022-06-17 17:11 henry Note Added: 0012627
2022-06-17 17:12 henry Assigned To => henry
2022-06-17 17:12 henry Status new => closed
2022-06-17 17:12 henry Resolution open => no change required
2022-06-17 17:12 henry Note Added: 0012628