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

CFX-Post: Parameterized location for data output possible?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2016, 15:36
Post CFX-Post: Parameterized location for data output possible?
  #1
Member
 
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 9
AnnaF is on a distinguished road
Hello everybody! It's my first day here in the forum and already my 2nd thread

When I searched in google or here I could'nt find any sites or threads, that discussed my question, but I am not sure if I used the right termination...

My question is: Is there any possibilty to create parameterized planes in CFX POST for data output?

As I'm simulating external flow around a single cubic bulding with varying dimensions (height, length, width) I'd like pressure-values on the building surface as a data output. I already managed with expressions to get the pressure averaged over manual-specified planes. Now I'd like to parameterize those planes in order to the variation/parameterization of the geometry - that the planes in POST fit the new geometry. Is it possible to do it in POST? Or maybe in order to slicing the geometry/body already in DesignModeler? With assignment with NamedSelections?

Maybe you have an idea and can help me?
Greetings, Anna
AnnaF is offline   Reply With Quote

Old   December 11, 2016, 17:13
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,819
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There should be (at least) three ways of doing this:

* CFD Post has a CCL language where you can generate features using a text interface. You can then set parameters on the text file.

* CFD Post can do session files where a series of actions are "recorded" into a session file which can be played back again later. The session file is a text file, so again the numeric values in the session file can be modified.

* Doesn't CFD-Post accept parameters from workbench? Then use workbench parametric modelling to define the location of the planes.

The last way is easiest I suspect.
ghorrocks is offline   Reply With Quote

Old   December 12, 2016, 04:19
Default
  #3
Member
 
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 9
AnnaF is on a distinguished road
Hi Glenn, thank's for your response!

I also intended to use the 3rd option you described. But in my opinion, parameters from workbench can not be used for every way of defining a plane. It's possible for the Plane Bounds (including size and rotation angle), but not for defining an exact point or a non-rectangular plane. For example I want to create the plane with 3 points, I have to define the coordinates of these points manually...

But maybe I can mix this with creating a session file and modifying it?! So thanks for the information about session files. I'm gonna try and find it out
AnnaF is offline   Reply With Quote

Old   December 19, 2016, 04:22
Arrow
  #4
Member
 
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 9
AnnaF is on a distinguished road
Now I solved my problem without using CCL.

With the usage of imprints I created parameterized surfaces on my cube in the DesignModeler. In the Meshing Tool I created NamedSelections out of them. In CFD POST I used these NamedSelections for creating separate domains. And then I referenced onto these domains for my data output (as Workbench output parameters), for example: areaAve(Pressure)@surface1 .
AnnaF is offline   Reply With Quote

Old   January 16, 2017, 06:47
Default
  #5
Member
 
Alex
Join Date: Feb 2016
Posts: 81
Rep Power: 10
Red Ember is on a distinguished road
Well, I think it's enough just to create named selection during meshing without DM? Moreover, if you just change sizes and all surfaces stay the same, you can use just surface numbers, e.g. areaAve(Pressure)@F258.468
Red Ember is offline   Reply With Quote

Old   January 16, 2017, 07:34
Default
  #6
Member
 
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 9
AnnaF is on a distinguished road
Thanks for the reply Red Ember! I think I know what you mean. But if I want to have a few Named Selections on one surface (splitting one surface into more areas) I didn't know how to do it without DM...?
AnnaF is offline   Reply With Quote

Old   February 22, 2024, 12:11
Lightbulb Alternative solution
  #7
Member
 
Join Date: May 2020
Posts: 42
Rep Power: 6
CFDger is on a distinguished road
Just in case anyone has the same question and is still looking for maybe an other way of solving this problem.


You can access geometric input and output parameters which are shown in the Workbench parametric table in CFD-Post. For that you have to create an Expression in CFD-Post, give it a random/generic value (this doesn't matter) and then activate "Use as Workbench Input Parmeter".

Then this expression will appear in the Workbench parametric table next to the geometric parameters which you want to use in CFD-Post. Let's say one of this geometric parameters you want to use is called P1. You can assign P1 to the newly generated expression and then you will (indirectly) have access to the value of P1 via your custom expression in CFD-Post.


Maybe this is helpful for somebody.
CFDger 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] outputTime in Swak function immortality OpenFOAM Community Contributions 20 October 6, 2022 12:08
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
CFX post legend modification mactech001 CFX 3 December 25, 2011 22:12
CFX Post export problem jeff_F CFX 0 August 17, 2009 21:25
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


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