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

Use CCL file to add subdomain without overwriting existing setup

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2016, 11:22
Default Use CCL file to add subdomain without overwriting existing setup
  #1
Member
 
Join Date: Jan 2016
Posts: 34
Rep Power: 10
honcho62 is on a distinguished road
Hi everyone,

I have a script that automates some of the setup in CFX-Pre and I'd like to expand it. It's basically a matlab script that generates a CCL file that you can load in CFX-Pre.

I want to add a subdomain with certain pre-sets. In this case boundary conditions and the domain are already pre-defined, this way you could apply it to general case. I have added all the info necessary for the subdomain to the CCL but when I load it in CFX-Pre it overwrites the pre-defined boundary conditions and domain info, because they're not in the CCL file.

So I can either add all that info, which defeats the purpose, or find a way to add this subdomain without overwriting the pre-defined boundary conditions and such. Is this possible?

Thanks
honcho62 is offline   Reply With Quote

Old   May 10, 2016, 12:12
Default
  #2
Member
 
Peter
Join Date: Sep 2011
Location: Germany
Posts: 39
Rep Power: 15
PeMo is on a distinguished road
Have you tried to skip the &replace command in the ccl

Code:
FLOW: Flow Analysis 1
  &replace DOMAIN: Fluid
    Coord Frame = Coord 0
    Domain Type = Fluid
    Location = Assembly
...
PeMo is offline   Reply With Quote

Old   May 10, 2016, 16:29
Default
  #3
Member
 
Join Date: Jan 2016
Posts: 34
Rep Power: 10
honcho62 is on a distinguished road
I don't have the &replace in there it's just plain.

NVM: I didn't notice the Import Method options when you open a CCL file

Last edited by honcho62; May 11, 2016 at 06:03. Reason: solved it
honcho62 is offline   Reply With Quote

Old   May 11, 2016, 12:51
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Are you appending or replacing the additional CCL to the existing CCL ?

If you use the user interface, and import the CCL there is an "Import Method" setting you must select (defaults to Replace). If you use a session file, you must look at the import command and select the Import Method to either replace, or append your "CCL fragment"

Hope the above helps,
Opaque is offline   Reply With Quote

Reply


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
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 11:03
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


All times are GMT -4. The time now is 19:51.