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

Stokes theorem implementation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2014, 07:05
Default Stokes theorem implementation
  #1
New Member
 
Joćo Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 4
Rep Power: 2
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
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 On
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 17:11
easy educational compressible navier stokes implementation anywhere? Boogiwoogie Main CFD Forum 0 December 19, 2010 07: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 04:18
Stokes algorithm? Rui Main CFD Forum 1 March 17, 2003 14:14


All times are GMT -4. The time now is 04:34.