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

Stokes theorem implementation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2014, 06:05
Default Stokes theorem implementation
  #1
Member
 
Joćo Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 11
jmdf is on a distinguished road
Hello everyone,

i'm trying to implement the Stokes theorem on OF for testing purposes.
My idea is to calculate a surface integral of the vector's curl over a specified face and then calculate a path integral over the boundaries of that specified face and evaluate the results.

My questions are:

1 - How to implement the surface integral calculation? I have the value on cells faces, interpolated from the values on cells centers.

2 - What routines should i use to calculate the path integral and how do i get the values of the boundaries of the specified face?


Best regards
jmdf 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
Green's theorem or divergence theorem? Hermano Main CFD Forum 0 November 30, 2011 16:11
easy educational compressible navier stokes implementation anywhere? Boogiwoogie Main CFD Forum 0 December 19, 2010 06:32
navier stokes implementation in java gerhard Main CFD Forum 0 August 18, 2004 05:07
Stokes Drag Ajay Rao FLUENT 3 December 5, 2003 03:18
Stokes algorithm? Rui Main CFD Forum 1 March 17, 2003 13:14


All times are GMT -4. The time now is 17:00.