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

BC export in CFX-Pre

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By mjgraf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2013, 03:36
Default BC export in CFX-Pre
  #1
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14
TrII4d is on a distinguished road
Hi guys,

is it possible to export all the BC's from CFX-pre (e.g. Material for each Domain, Solver Control, expert parameters and s.o) to a *.csv file ?

Additionally I want, that CFX is giving me only the BC's which were changed from the "standard definition" (e.g. when i change the domain type from "fluid" to "solid)

I know that I can export all the BC's using Perl, but what I want is that CFX-pre gives me the changed BC's only ... this will be a hard work using Perl ...

my prof told me, that FLUENT is able to do that ... but he doesn't know very much about CFX ... maybe u guys have an idea?

thanks!
TrII4d is offline   Reply With Quote

Old   June 19, 2013, 04:22
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by TrII4d View Post
is it possible to export all the BC's from CFX-pre (e.g. Material for each Domain, Solver Control, expert parameters and s.o) to a *.csv file ?
So you want the settings, not only the BCs? File/Export/CCL would give you your model setup in a .ccl file, which you can open with a text editor. I dont understand why you would need a .csv file?

I dont understand your second question.
Lance is offline   Reply With Quote

Old   June 19, 2013, 04:51
Default
  #3
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14
TrII4d is on a distinguished road
Dear Lance,

thanks for ur answer.
Yeah i know about the possibility to export a *.ccl file ... after that i could use a perl script which filters the settings and BC's I need ...

but that's not exactly what I want, I try to explain it in another way:

When u create a new Domain there are standard stocks in the input fields ...what i want is, that if u change them, ANSYS export the changed values only

for example a new domain:
in the tab "basic settings" u will get the following settings:
Domain Type : Fluid Domain
Coordinate Frame : Coord 0
Reference Pressure : 0.00 [Pa]
...

if I change the Domain type from "Fluid Domain" to "Solid Domain" then CFX-pre should execute this information as output because I changed it ... but there should be no informations about the "coordinate frame", "reference pressure" and others because I didn't change it.


hope u got my point

- thanks!
TrII4d is offline   Reply With Quote

Old   June 19, 2013, 05:19
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
I dont see how this is possible in CFX. My suggestion would be to export the settings before you make any changes, then make the changes and export the settings again. Then compare the two files with some sort of script/program.

But you already have this information, you know the changes you apply to the domain. Or what am I missing?
Lance is offline   Reply With Quote

Old   June 19, 2013, 05:26
Default
  #5
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14
TrII4d is on a distinguished road
yeah this could be way to do it ...

no u r right Lance ... the reason why i'm searching for such an option is that I have *.def files with a lot of domains, interfaces and so on. ...

i'm doing some DoE at the moment ... so i want to be sure that i didn't forget all the necessary changes in the new *.def file ...

if i export all the settings from the new *.def file and from my "original" definition file, i can compare the two textfiles (*.csv or *.txt or whatever) with each other ...

if i find another way i will let u know ... if someone else has an idea ... pls let me know
TrII4d is offline   Reply With Quote

Old   June 20, 2013, 00:57
Default
  #6
Senior Member
 
Join Date: Dec 2009
Posts: 131
Rep Power: 19
mjgraf is on a distinguished road
maybe cfx5dfile can help.

if you have the cfx bin folder in your path
type
cfx5dfile -h
to bring up the help.
TrII4d likes this.
mjgraf is offline   Reply With Quote

Old   June 25, 2013, 03:27
Smile that's it!
  #7
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14
TrII4d is on a distinguished road
Quote:
Originally Posted by mjgraf View Post
maybe cfx5dfile can help.
not maybe ... it helps ... thanks a lot mjgraf for that great support! ...



thread closed!
TrII4d is offline   Reply With Quote

Reply

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
only 1 of many named selections not showing up in cfx pre mihirbhagat CFX 2 April 26, 2019 05:56
Defining a domain in CFX Pre ashtonJ CFX 1 June 13, 2011 03:34
Export CGNS with CFX 10.0 Luca CFX 1 December 29, 2010 07:09
CFX Pre - TGrid Vivek Vasudevan CFX 2 March 20, 2007 07:31
export mesh made in ICEM to cfx Morten Andersen Main CFD Forum 2 October 26, 2006 23:52


All times are GMT -4. The time now is 15:25.