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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2015, 07:18
Post Script CFX Setup for dynamic domain generation
  #1
Member
 
Join Date: Oct 2014
Posts: 44
Rep Power: 11
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, 02: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:38
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
injection problem Mark New FLUENT 0 August 4, 2013 01:30
CFX mesh script error Malik77 CFX 0 June 24, 2011 07:42
CFX: How to save variables of boundary domain of transient run and use it as input papanef CFX 5 November 10, 2010 16:31


All times are GMT -4. The time now is 13:16.