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

Curl in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By vigneshTG

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2015, 02:14
Question Curl in OpenFoam
  #1
Member
 
Join Date: Jul 2012
Posts: 67
Rep Power: 13
Carlen is on a distinguished road
Does anyone know how to find the curl of a velocity field in OpenFoam?

I tried but got this error

error: no matching function for call to ‘curl(Foam::vector&)’
vector curlUc = fvc::curl(Uc);

Can anyone please tell me how to solve this?

Thank you in advance
Carlen is offline   Reply With Quote

Old   February 10, 2015, 08:36
Default
  #2
Member
 
Vignesh
Join Date: Oct 2012
Location: Darmstadt, Germany
Posts: 66
Rep Power: 13
vigneshTG is on a distinguished road
Quote:
Originally Posted by Carlen View Post
Does anyone know how to find the curl of a velocity field in OpenFoam?

I tried but got this error

error: no matching function for call to ‘curl(Foam::vector&)’
vector curlUc = fvc::curl(Uc);

Can anyone please tell me how to solve this?

Thank you in advance
I think you should write vectorField curlUc = fvc::curl(Uc);
rajibroy and Kummi like this.
__________________
Thanks and Regards

Vignesh
vigneshTG 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 10 May 13, 2018 18:28
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 07:18
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 13:14


All times are GMT -4. The time now is 07:40.