CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

Expression for.....mod function

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 20, 2010, 13:05
Default Expression for.....mod function
New Member
Join Date: Mar 2009
Posts: 13
Rep Power: 10
arvind_arya is on a distinguished road
Hi everyone,
I have a simple question to make expression for |a+b| or mod(a+b) using CFX Expression Language?

Thank You

arvind_arya is offline   Reply With Quote

Old   October 20, 2010, 14:12
New Member
Join Date: Oct 2010
Posts: 18
Rep Power: 9
ousegui is on a distinguished road
for |a+b| you write simply abs(a+b), but make sur that a and b have the same unity
ousegui is offline   Reply With Quote

Old   October 20, 2010, 18:16
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,326
Rep Power: 110
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
And mod is mod(a+b). Not very difficult, is it?
ghorrocks is online now   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

All times are GMT -4. The time now is 01:27.