|
[Sponsors] |
Use CCL file to add subdomain without overwriting existing setup |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2016, 11:22 |
Use CCL file to add subdomain without overwriting existing setup
|
#1 |
Member
Join Date: Jan 2016
Posts: 34
Rep Power: 10 |
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 |
|
May 10, 2016, 12:12 |
|
#2 |
Member
Peter
Join Date: Sep 2011
Location: Germany
Posts: 39
Rep Power: 15 |
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 ... |
|
May 10, 2016, 16:29 |
|
#3 |
Member
Join Date: Jan 2016
Posts: 34
Rep Power: 10 |
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 |
|
May 11, 2016, 12:51 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
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, |
|
|
|
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 |