|
[Sponsors] |
[swak4Foam] whats absolute function in groovyBC?mag? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 17, 2013, 15:24 |
whats absolute function in groovyBC?mag?
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
does mag plays the role of absolute in expressions like mag(internalField(U).x)?it means velocity in positive x direction?
|
|
February 26, 2013, 19:13 |
|
#2 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
am i right aboua absolute function?
Does the expression give the expected result? |
|
February 27, 2013, 06:29 |
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Could you PLEASE try it yourself. That's more effective than always asking
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
February 27, 2013, 10:49 |
|
#4 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
i have tried that since a lot of time ago.but i have doubt that does this term gives what i want and intended or not.
i'm not inside the code that can aware of what happening in it.so i should as for certainty. are you tired from answering? |
|
February 27, 2013, 11:20 |
|
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
mag gives the magnitude for everything. Which for scalars happens to be the absolute value
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 27, 2013, 11:35 |
|
#6 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
no problem.i've seen such answers that says "no question" in other threads during my searches.since i don't become sad after seeing this irrelevant answers.
my adviser had told me to say "not knowing isn't bad,but not asking is bad" to they afraid of increasing of someone's threads.i see its useful now. its good that we don't eliminate our goodness by obligation(if i have choose a proper word) my questions are different and im progressing a lot from zero so that other students are learning by the help of me. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 15:07 |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 02:47 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |