|
[Sponsors] |
CFX-Post: Parameterized location for data output possible? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 11, 2016, 16:36 |
CFX-Post: Parameterized location for data output possible?
|
#1 |
Member
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 10 |
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 |
|
December 11, 2016, 18:13 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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. |
|
December 12, 2016, 05:19 |
|
#3 |
Member
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 10 |
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 |
|
December 19, 2016, 05:22 |
|
#4 |
Member
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 10 |
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 . |
|
January 16, 2017, 07:47 |
|
#5 |
Member
Alex
Join Date: Feb 2016
Posts: 81
Rep Power: 10 |
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
|
|
January 16, 2017, 08:34 |
|
#6 |
Member
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 10 |
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...?
|
|
February 22, 2024, 13:11 |
Alternative solution
|
#7 |
Member
Join Date: May 2020
Posts: 42
Rep Power: 6 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] outputTime in Swak function | immortality | OpenFOAM Community Contributions | 20 | October 6, 2022 13:08 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |
CFX post legend modification | mactech001 | CFX | 3 | December 25, 2011 23:12 |
CFX Post export problem | jeff_F | CFX | 0 | August 17, 2009 22:25 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |