|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Domenico
Join Date: Sep 2009
Location: Cranfield
Posts: 48
Rep Power: 18 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 18,016
Rep Power: 146 ![]() ![]() ![]() ![]() |
This is easy using the new "if" CEL function.
|
|
|
|
|
|
|
|
|
#3 | |
|
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 18,016
Rep Power: 146 ![]() ![]() ![]() ![]() |
He sent me a PM:
Quote:
|
||
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |