Creating .num files from mesh created with blockMeshDict OpenFOAM

Hello!
I am new to calculix and I am trying to create my .msh and .num files form a mesh that I created with blockMeshDict dictionary inside OpenFOAM. I managed it with : cgx -foam command and loaded my mesh into the cgx. With ‘send all abq’ I created the all.msh file which contains all the nodes and that is fine. Now when I try to create .num files using ‘send setname abq nam’ I get .num file which is completely empty.

Do I have to create some face groups before extracting the nodes in .num files or something similar? Because I was convinced that since cgx read the polyMesh data, it will take the information about the created patches from there.

Thank you upfront for the help!

Martina

Hello,
maybe you can check, what you have for sets and what is included with the command:
prnt se

Hi, so this is what I get after running the command:
all stat:o n:6840 e:3200 f:6840 p:0 l:0 c:0 s:0 b:0 L:0 S:0 se:0 sh:0 v:0

Hello,

in these set you have nodes n:6840, elements e:3200 and elementfaces f:6840,
here the command should work with
send all abq
send all abq nam
send all abq pres 1.0

etc.
and it looks that you have only 1 set, the set all.
so you must create other sets or they are included in your progress !?
maybe you have missed something.

Hi,
yes so the following works very good:

Send all abr
send all abq nam

Could you tell me how to create other sets ? I have a few different boundaries in polyMesh, but it seams that inside calculix I need to create sets (to tell which nodes belong to set inlet, outlet, interface, etc. ).
I found one command :
comp nodes do

but I am not sure if it is the right one. I used:
comp do
send abq nam

and the .nam files are created and non-empty. Is this the right way?

Thank you for your help!

Martina

Hello,

you can fix it by hand, manual with qadd, these works fine,

image

needs some practice, or you can fix it with enq, but these needs also some experience,
but you can use a fbd file and use it automaticly with read input.fbd in cgx:

GettingStarted (baigar.de)

Hi,
Thank you very much for the instructions and link!

I will try it out that way.

Martina

1 Like