|
[Sponsors] |
August 25, 2019, 16:46 |
Recursive expressions in CFX
|
#1 |
New Member
Alex
Join Date: Jan 2018
Posts: 9
Rep Power: 8 |
For example, I am modeling a free piston, accelerated with pressure. So I need to set a changing speed.
I can easily find acceleration a = PS/m и ΔU = a*timestep. The piston has inertia, and its speed increases (or maybe decreases) with each timestep. So, I need "cumulative" expression like U = U+ΔU, to change the speed per each step. But CFX does not support self-referencing expressions. How to do this correctly? |
|
August 27, 2019, 04:52 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28 |
You should not set the velocity on a free piston. The piston needs to find its position by itself. Probably by deforming mesh. Please look for the tutorial #23 on the ANSYS support site.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX Post - expressions / math. operations | meister-hubert | CFX | 1 | May 8, 2018 16:21 |
CFX: Insert custom mesh locators / Use user locations as locators in the expressions | heling | CFX | 15 | February 19, 2018 12:35 |
How to define a static aditional variable in CFX | cardioCFD | CFX | 8 | January 22, 2018 05:58 |
CFX Post Expressions number decimals | njiang | CFX | 3 | December 13, 2013 05:39 |
CFX Expressions | lex | CFX | 6 | January 7, 2010 09:12 |