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

Plotting user function CFD-post

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2013, 15:50
Default Plotting user function CFD-post
  #1
New Member
 
Join Date: Aug 2012
Posts: 2
Rep Power: 0
ZingyDNA is on a distinguished road
Hi guys,

I defined a 3D user function "HeatDeposition(x,y,z)" in CFX-pre and wanted to plot it in 3D in CFD-post. So I made an expression to be equal to the function in CFX-pre, but in CFD-post I got an error "The following unrecognised name was referenced: HeatDeposition"

Why is this happening?

Thanks.
ZingyDNA is offline   Reply With Quote

Old   August 16, 2013, 17:04
Default
  #2
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 14
JuPa is on a distinguished road
Are you sure that you don't need to create a variable first in CFX Pre, and then go into default domain and select your variable in the "additional variables" section. It will then get monitored during the solver process and subsequently passed onto CFD Post.

Further if you just want a pretty picture of what your variable "HeatDeposition(x,y,z)" looks like then in CFX Pre when you define your variable there should be a plot tab. If you provide values for x,y,z it should give you a plot.

However I've never seen a variable like "HeatDeposition(x,y,z)" without a location identifier. You might need to say HeatDeposition(x,y,z)@fluid_domain or something similar.
JuPa is offline   Reply With Quote

Old   August 16, 2013, 18:42
Default
  #3
New Member
 
Join Date: Aug 2012
Posts: 2
Rep Power: 0
ZingyDNA is on a distinguished road
Quote:
Originally Posted by RicochetJ View Post
Are you sure that you don't need to create a variable first in CFX Pre, and then go into default domain and select your variable in the "additional variables" section. It will then get monitored during the solver process and subsequently passed onto CFD Post.
That did the trick! I'm not familiar with handling all the variables, expressions, and functions that ANSYS defines. They kinda make it a little complicated. Thanks for the help!

Quote:
Originally Posted by RicochetJ View Post
Further if you just want a pretty picture of what your variable "HeatDeposition(x,y,z)" looks like then in CFX Pre when you define your variable there should be a plot tab. If you provide values for x,y,z it should give you a plot.
In pre they only allow you to plot function value against x, y, or z. I needed a 3D plot so I figured I can only do it in post.

Quote:
Originally Posted by RicochetJ View Post
However I've never seen a variable like "HeatDeposition(x,y,z)" without a location identifier. You might need to say HeatDeposition(x,y,z)@fluid_domain or something similar.
I have only the default domain so far so this is not needed yet...
ZingyDNA 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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
User CEL Function and CFD Post chastain CFX 4 September 24, 2013 13:58
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
collect User Experience about CFD softwares dxw_CFD Main CFD Forum 12 October 24, 2011 22:08
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35


All times are GMT -4. The time now is 12:38.