CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Using vorticity utility and meaning of curl (U)

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

Like Tree7Likes
  • 3 Post By chegdan
  • 4 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2013, 11:13
Default Using vorticity utility and meaning of curl (U)
  #1
New Member
 
Ali
Join Date: Nov 2011
Posts: 9
Rep Power: 14
aligoger is on a distinguished road
Dear Foamers,

I am planing to use vorticity as a post processing utility. When I hit the vorticity command in terminal the error comes up:

Time = 1500
Reading U
Calculating vorticity
--> FOAM Warning :
--> FOAM FATAL IO ERROR:
keyword curl(U) is undefined in dictionary "/home/ali/run/2/system/fvSchemes::gradSchemes"


1. Is there any body explain me what the curl(U) is?
2. Is there any suggestion for the most suitable gradSchemes for curl(U) in fvSchemes?

I really appreciate for any help.
aligoger is offline   Reply With Quote

Old   June 19, 2013, 14:58
Default
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
1. Curl(U) is the cross product of the vector differential operator and the velocity vector explained here

2. for grad schemes, I like least squares defined like
Code:
grad(U) leastSquares;
found from here

Enjoy
wyldckat, immortality and rajibroy like this.
chegdan is offline   Reply With Quote

Old   September 27, 2013, 15:34
Default
  #3
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
hi foamers
I have the same problem as aligoger. Did anybody solve this problem?

best
gaza is offline   Reply With Quote

Old   September 27, 2013, 21:01
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@gaza:
Quote:
Originally Posted by gaza View Post
I have the same problem as aligoger. Did anybody solve this problem?
What Daniel meant is that you should edit the file "system/fvSchemes" and find the block that starts with "gradSchemes", e.g.:
Code:
gradSchemes
{
    default         Gauss linear;
    grad(p)         Gauss linear;
}
And add the entry for "curl(U)":
Code:
gradSchemes
{
    default         Gauss linear;
    grad(p)         Gauss linear;
    curl(U) leastSquares;
}
Best regards,
Bruno
rajibroy, Kummi, PuWang and 1 others like this.
__________________

Last edited by wyldckat; September 27, 2013 at 21:02. Reason: grad(U) -> curl(U)
wyldckat is offline   Reply With Quote

Old   September 28, 2013, 01:42
Default
  #5
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
Hi Bruno
In fvScheme I had set up
gradSchemes
{
default none;
grad(p) Gauss linear;
grad(U) Gauss linear;
}

Today when I changed this to
gradSchemes
{
default Gauss linear;
// grad(p) Gauss linear;
// grad(U) Gauss linear;
}
it works. I don't know why and this is strange for me.
I haven't had to set up curl(U).
Very thank you for your ultra fast replay and help.

best
Przemek
gaza is offline   Reply With Quote

Old   September 28, 2013, 01:50
Default
  #6
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
It seems that settings: default none
in gradSchemes cannot be set up if I want to calculate vorticity
with vorticity utility.

best
Przemek
gaza is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[mesh manipulation] Usage of polyDualMesh utility vaina74 OpenFOAM Meshing & Mesh Conversion 11 October 16, 2019 05:54
stressComponents utility in LES calculations vkrastev OpenFOAM 3 April 12, 2011 12:57


All times are GMT -4. The time now is 06:09.