|
[Sponsors] |
November 17, 2016, 10:22 |
Square wave function/expression in CFX
|
#1 |
New Member
Join Date: Nov 2016
Posts: 5
Rep Power: 10 |
I am working on a transient analysis and am wondering if there is any way to write an expression which will give a square wave function over the duration of the analysis.
The situation is I am analysing the heat entering a brake disc during repeated braking. I want to model a heat flux on a surface but switch it on and off as the brakes are applied. For example, is it possible to model a 30 second transient analysis with brakes/heat applied for 5 seconds and released (disc able to cool) for 5 seconds then repeated two more times to see the disc temperature at the end of the analysis? The square wave would then give a heat flux of xxx W/sqm for time 0 to 5 seconds and zero W/sqm from 5 to 10 seconds. It could be a binary function which is multiplied by the flux value. Last edited by Johndm; November 17, 2016 at 10:26. Reason: expanded explanantion |
|
November 17, 2016, 11:46 |
|
#2 |
New Member
parviz hash
Join Date: May 2012
Posts: 16
Rep Power: 14 |
I think u can use if or step function:
if( cond_expr, true_expr, false_expr ) or step () |
|
November 18, 2016, 20:22 |
|
#3 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
either vhat parviz said or tabular data:
You can inport tabular data via user function |
|
Tags |
function, square, transient, wave |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Differences between CFX and OpenFOAM regarding convergence and robustness! | magjohan | OpenFOAM Running, Solving & CFD | 4 | February 26, 2015 11:26 |
Wave in CFX | divoone1985 | CFX | 2 | February 25, 2015 12:36 |
WAVE TANK star-ccm+ . wave height dampens. WHY? | muhsin | STAR-CCM+ | 3 | October 9, 2012 14:24 |
Question about the shock wave in CFX software | nucharin | Main CFD Forum | 1 | January 25, 2005 09:26 |
CFX 4.4 installation problem | Pandu Sattvika | CFX | 1 | December 1, 2001 05:07 |