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

Script CFX Setup for dynamic domain generation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2015, 08:18
Post Script CFX Setup for dynamic domain generation
  #1
Member
 
Join Date: Oct 2014
Posts: 44
Rep Power: 12
kar.coep is on a distinguished road
Hello,
I am trying to generate different no of domains foe each case. Python/Journal recording allows to give parameters dynamically through expressions like mass flow rate, outlet pressure etc. But how do we specify the interface surfaces? Cause setup by default takes very odd names like F26.F28, or something like this

Plz help.
kar.coep is offline   Reply With Quote

Old   May 18, 2015, 03:29
Default
  #2
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
Hi kar.coep,

To create Interface surfaces.
1. You need to do named selection of surfaces you want to bring in Interfaces during your mesh ( that way there will be no default names like F26.F28)
2. Create different Domain like you normally do in CFX
3. Create a separate .ccl file for Interfaces, declare domains, boundary list, filter domain list and Interface Region List (you can find this in recorded ccl)
4. Import the ccl by your .wbjn file!
ps: you can record your ccl, once recorded go to your ccl to see the codes for interfaces and import like below mentioned code!
Code:
setup1.SendCommand(Command=r">importccl filename=C:\Interfaces.ccl, mode = append, autoLoadLibrary = none""")
I hope this is what you are after!

Cheers
KAPI
Kapi is offline   Reply With Quote

Reply

Tags
cfx setup, domain interface, python, setup


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Domain Imbalance HMR CFX 5 October 10, 2016 06:57
injection problem Mark New FLUENT 0 August 4, 2013 02:30
CFX mesh script error Malik77 CFX 0 June 24, 2011 08:42
CFX: How to save variables of boundary domain of transient run and use it as input papanef CFX 5 November 10, 2010 17:31


All times are GMT -4. The time now is 09:44.