|
[Sponsors] |
October 20, 2010, 13:05 |
Expression for.....mod function
|
#1 |
New Member
Arvind
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Hi everyone,
I have a simple question ...how to make expression for |a+b| or mod(a+b) using CFX Expression Language? Thank You Regards Arvind |
|
October 20, 2010, 14:12 |
|
#2 |
New Member
ousegui
Join Date: Oct 2010
Posts: 19
Rep Power: 15 |
for |a+b| you write simply abs(a+b), but make sur that a and b have the same unity
|
|
October 20, 2010, 18:16 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
And mod is mod(a+b). Not very difficult, is it?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 04:37 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 00:35 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |