CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

CFD-Post CCL export: enable line and face connectivity

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2022, 07:15
Default CFD-Post CCL export: enable line and face connectivity
  #1
New Member
 
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 10
Benzouz is on a distinguished road
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.
Benzouz is offline   Reply With Quote

Old   August 8, 2022, 23:16
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   August 9, 2022, 07:59
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,815
Rep Power: 32
Opaque will become famous soon enough
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
Benzouz likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   August 9, 2022, 12:16
Default
  #4
New Member
 
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 10
Benzouz is on a distinguished road
Oh that's very useful to know, thanks a lot!
Benzouz is offline   Reply With Quote

Reply

Tags
ccl, cfd-post, command editor, documentation, export


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? Sorabh OpenFOAM Meshing & Mesh Conversion 1 August 3, 2021 06:35
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 01:52.