|
[Sponsors] |
April 9, 2010, 08:52 |
Definition of the theta function in CFX-PRE
|
#1 |
Member
Domenico
Join Date: Sep 2009
Location: Cranfield
Posts: 48
Rep Power: 17 |
Dear all,
In CFX-PRE the theta function is a discontinuous function because in the front of a rotor is defined from 0 to pi and from -pi to 0. The problem is that I want to define a theta function from 0 to 2*pi for overall the annulus (to define the angular position). It may be possible to avoid the using of fortran routine, but it is quite complicate with respect to define a simple CEL expression. Somebody can help me? Kind regards Domenico |
|
April 9, 2010, 09:28 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
This is easy using the new "if" CEL function.
|
|
April 10, 2010, 07:24 |
|
#3 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
He sent me a PM:
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LiencubiclowRemodel | nzy102 | OpenFOAM Bugs | 14 | January 10, 2012 09:53 |
Definition of a linear function as volScalarField | titio | OpenFOAM Running, Solving & CFD | 1 | October 3, 2010 17:51 |
Periodicity of a function (loop) CFX | uorinopuot | CFX | 2 | October 27, 2009 20:15 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |