CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Set heat transfer as default for interfaces (https://www.cfd-online.com/Forums/cfx/144731-set-heat-transfer-default-interfaces.html)

edward.pocock November 20, 2014 06:27

Set heat transfer as default for interfaces
 
I've been running large conjugate heat transfer problems with lots of interfaces, upwards of 50, and hence need to go through each interface and tick the heat transfer option which can be a laborious process.
Is there a way to either automate this process or set it so interfaces always have heat transfer set? I have tried adding heat transfer to each interface in the command editor but it throughs the following error:

Code:

ERROR
CCL validation failed with message:
Error: Sub-object 'FLOW:Flow Analysis 1' of type FLOW is not allowed in /FLOW:Flow Analysis 1
Error: At least one sub-object of type 'MESH CONNECTION' is required in /FLOW:Flow Analysis 1/DOMAIN INTERFACE:Default Fluid Solid Interface 14
Error: Sub-object 'MESH CONNECTION' is not allowed in /FLOW:Flow Analysis 1/DOMAIN INTERFACE:Default Fluid Solid Interface 14/INTERFACE MODELS
Error: Sub-object 'PITCH CHANGE' is not allowed in /FLOW:Flow Analysis 1/DOMAIN INTERFACE:Default Fluid Solid Interface 14/INTERFACE MODELS/HEAT TRANSFER

Any help would be much appreciated!

JuPa November 20, 2014 08:41

Possibly - the only way I can think of is to export the CCL file, and use something like Notepad++ to edit the CCL file to ensure heat transfer is enabled on all interfaces (use the find and replace option in Notepad++).

Then once that's done re-import the CCL file.


Anyway isn't heat transfer enabled by default at interfaces?

edward.pocock November 20, 2014 09:17

I tried that but it gave me the error in my original post.

Apparently not in my install, any idea where default settings would be?

Opaque November 20, 2014 11:37

It will help if you describe how the domain interfaces were created the first time. From the messages, it seems they were created by importing incomplete CCL from earlier versions.

Have you ever used Perl power syntax within CCL ? You should be able to create a loop over a list of domain interface names, and add a CCL fraction such as

DOMAIN INTERFACE: $domint
INTERFACE MODELS:
HEAT TRANSFER:
Option = Conservative Interface Flux
END
END
END

You could submit the power syntax statement at run time to modify the CCL. You should contact ANSYS CFX support for help on the Perl power syntax.


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