|
[Sponsors] |
CFD-Post CCL export: enable line and face connectivity |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 8, 2022, 08:15 |
CFD-Post CCL export: enable line and face connectivity
|
#1 |
New Member
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11 |
Hello all,
I am trying to export some variables from CFD-Post using the command line but I am struggling to find all the parameter names to set up my export, especially the one corresponding to Line and Face Connectivity. From the documentation there is unfortunately very little information available: "Data export is controlled using the >export command. The names of variables to export, locations to export, filenames, and so on, are defined in the EXPORT singleton object." No examples are provided and no details are given regarding all the parameters that can be used in the so called EXPORT singleton object. Luckily I was able to find some information in a post on this forum (CFX Post: Problem with Macro) but I am still missing the parameter to enable the Line and Face Connectivity. I have tried guessing with 'Line and Face Connectivity=true' or 'Export Line and Face Connectivity=true' but without luck. So I have two questions, first how to enable it? And second, and probably more important, where am I meant to find the information needed to write CCL code in general, when nothing is available in the documentation? Like for example, it seems the original poster from the post I linked had some information about the parameters to write in the EXPORT object, so I am really curious about where they managed to find this. |
|
August 9, 2022, 00:16 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
If you are looking for mesh connectivity information then I would not use CFD-Post. I would look at the various export options under Solver Manager, or the cfx5export command line. It can export CGNS, Patran, Fieldview, Ensight formats and also has hooks to custom export routines.
Also, CCL is not a language and definitely not "code". It does not have many basic features which most languages have, like looping, branching, subroutines etc. CCL has many features which are poorly documented.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
August 9, 2022, 08:59 |
|
#3 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
If you want to see what "internal commands" uses you can record your session, and review the session file you saved.
Select Session, New Session, Start Recording Start your workflow process, say Load Results Create Contour File->Export->Export->File .., Type ... , Line and Face Connectivity .. Save Session-> Stop Recording With a text editor, open the session file just save and you can see the different commands executed. Session files are great to record repetitive workflows, and automate them as needed. Hope the above helps
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
August 9, 2022, 13:16 |
|
#4 |
New Member
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11 |
Oh that's very useful to know, thanks a lot!
|
|
Tags |
ccl, cfd-post, command editor, documentation, export |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? | Sorabh | OpenFOAM Meshing & Mesh Conversion | 1 | August 3, 2021 07:35 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |