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

Add units to expression using TUI

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

Like Tree1Likes
  • 1 Post By D.W.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2021, 05:59
Unhappy Add units to expression using TUI
  #1
New Member
 
Join Date: May 2019
Location: I'm a Queenslander
Posts: 27
Rep Power: 5
RobR_CFD is on a distinguished road
Hey all you awesome Fluent users out there......
I have what is probably a very simple question
I would like to define a constant using the TUI to be used in calculations during a run.

Very simply I would like to have:

Length = 6m (as in 6 metres).

I thought I could do something like this:

/solve/report-definitions/add length expression define.....

but then I run into not knowing how to code for the units at the

Enter Expression: [""]

prompt.

Help greatfully accepted!!!
RobR_CFD is offline   Reply With Quote

Old   September 12, 2022, 15:39
Default
  #2
New Member
 
Join Date: Oct 2019
Posts: 5
Rep Power: 5
D.W. is on a distinguished road
For new named expression
/define/named-expressions/add length definition "1.1[m]" ()

To edit existing named expression
/define/named-expressions/edit length definition "1.2[m]" ()
RobR_CFD likes this.
D.W. is offline   Reply With Quote

Old   September 15, 2022, 19:48
Default
  #3
New Member
 
Join Date: May 2019
Location: I'm a Queenslander
Posts: 27
Rep Power: 5
RobR_CFD is on a distinguished road
Thanks D.W.!
RobR_CFD is offline   Reply With Quote

Reply

Tags
expression, fluent, tui, units

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
[swak4Foam] outputTime in Swak function immortality OpenFOAM Community Contributions 20 October 6, 2022 13:08
[swak4Foam] how to add an inlet expression using groovyc m5m5kh OpenFOAM Community Contributions 8 May 17, 2021 11:44
Error occurs when I set the Opening Temperature using an expression doublestrong CFX 6 April 1, 2016 08:30
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 07:16
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00


All times are GMT -4. The time now is 17:11.