CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

sampleDict >> keyword for magnitude of U

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2014, 11:29
Default sampleDict >> keyword for magnitude of U
  #1
Member
 
vitor spadeto
Join Date: Nov 2014
Posts: 51
Rep Power: 11
vitorspadetoventurin is on a distinguished road
just I little question... I desire to plot U profile along a line... Then I used sampleDict.. But.. I think "U" in the sampleDict file means Ux.. what is the simbol for magnitude of U?
vitorspadetoventurin is offline   Reply With Quote

Old   November 12, 2015, 13:52
Default
  #2
New Member
 
Join Date: Sep 2015
Posts: 8
Rep Power: 10
Michael.Mueller is on a distinguished road
Quote:
Originally Posted by vitorspadetoventurin View Post
just I little question... I desire to plot U profile along a line... Then I used sampleDict.. But.. I think "U" in the sampleDict file means Ux.. what is the simbol for magnitude of U?
Hello,

have you now a answer for your Problem? I have got the same Problem, I need also the Magnitude of U.

Thank you for your help

Greetings
Michael Müller
Michael.Mueller is offline   Reply With Quote

Old   November 13, 2015, 01:43
Default
  #3
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15
Bazinga is on a distinguished road
Have not tried it myself but I think you can run the magU utility first and then output the magnitude of U with the sample utility.
https://openfoamwiki.net/index.php/Main_OFUtilities
Bazinga is offline   Reply With Quote

Old   November 13, 2015, 03:28
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Sample can only process fields that exist, it does not compute fields. U is a vector field. To get the magnitude, run "foamCalc mag U".
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sampleDict and controlDict musahossein OpenFOAM Post-Processing 39 July 17, 2016 10:00
[OpenFOAM] Take derivative of mean velocity in paraFoam hiuluom ParaView 13 April 26, 2016 06:44
controlDict and sampleDict giving different results Shenan OpenFOAM Post-Processing 2 November 15, 2014 10:15
simpleFoam in parallel issue plucas OpenFOAM Running, Solving & CFD 3 July 17, 2013 11:30
sampleDict keyword patchName not accepted musahossein OpenFOAM Bugs 6 January 28, 2013 00:48


All times are GMT -4. The time now is 12:10.