blockMesh defined with incorrect topology:
Far nodes:
4 5
0 1
Near nodes:
7 6
3 2
I used topo 0 1 2 3 4 5 6 7 and the mesh created okay, with warnings during blockMesh:
Creating block mesh topology
--> FOAM Warning :
From function cellModel::mag(const labelList&, const pointField&)
in file meshes/meshShapes/cellModel/cellModel.C at line 128
zero or negative pyramid volume: -1.66667e-05 for face 0
(ignored, obviously). On sample, tets could not be created. checkMesh showed all cells to be stretched and negative volume; paraFoam showed them as okay.
Anyway, using the (correct) topo : 3 2 1 0 7 6 5 4
fixed all this.
Friday, 20 June 2014
Tuesday, 17 June 2014
Monday, 9 June 2014
openFoam errors and fixes!
From the terminal running paraFoam:
--> FOAM FATAL IO ERROR:
Please supply the offsetMode as one of
3
(
uniform
nonuniform
normal
)
This was from using Paraview 3.12.0 with openFoam 2.3.
Installing updated foam and paraview (well, parafoam) fixed this. The same directory now works fine.
--> FOAM FATAL IO ERROR:
Please supply the offsetMode as one of
3
(
uniform
nonuniform
normal
)
This was from using Paraview 3.12.0 with openFoam 2.3.
Installing updated foam and paraview (well, parafoam) fixed this. The same directory now works fine.
Thursday, 5 June 2014
Friday, 30 May 2014
Colour directories in bash
export LS_COLORS='di=00'
Works!
export LS_COLORS='di=07'
is clear.
Works!
export LS_COLORS='di=07'
is clear.
0 = default colour 1 = bold 4 = underlined 5 = flashing text 6 = no change 7 = reverse field 8 = black 9 = strikethrough 10 - 29= no change 30 = light green 31 = red 32 = green 33 = orange 34 = blue 35 = purple 36 = cyan 37 = grey 38 = underline 39 = no change 40 = black background 41 = red background 42 = green background 43 = orange background 44 = blue background 45 = purple background 46 = cyan background 47 = grey background 90 = dark grey 91 = light red 92 = light green 93 = yellow 94 = light blue 95 = light purple 96 = turquoise 100 = dark grey background 101 = light red background 102 = light green background 103 = yellow background 104 = light blue background 105 = light purple background 106 = turquoise background
Subscribe to:
Posts (Atom)