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

Help Curle Post Processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2022, 11:02
Default Help Curle Post Processing
  #1
New Member
 
Alberto Artoni
Join Date: Oct 2019
Posts: 7
Rep Power: 6
AlbertoArtoni is on a distinguished road
Hi!

I was checking the implementation of the function object Curle.
I don't understand how it has been implemented with respect to the referenced theory.

Theory says:

p' = \frac{1}{4 \pi}
               \frac{\vec{r}}{| \vec{r} | ^2} \cdot
               \left(
                  \frac{\vec{F}}{| \vec{r} |}
                + \frac{1}{c_0}\frac{d(\vec{F})}{d(t)}
               \right)

In the implementation we have:
Code:
  sum((pp*sqr(invMagR) + invMagR/c0_*dpdtp)*(Sfp & r));
Shouldn't be something like:
Code:
sum((pp*invMagR + c0_*dpdtp)*(Sfp & r)*sqr(invMagR)) / (4.0 *M_PI);

Am I missing something?



Thanks!
AlbertoArtoni is offline   Reply With Quote

Old   January 16, 2022, 16:22
Default
  #2
New Member
 
Giorgio Negrini
Join Date: Feb 2020
Location: Milan
Posts: 13
Rep Power: 6
alfiogn is on a distinguished road
cant delete this comment so wrote this

Last edited by alfiogn; January 27, 2022 at 11:32.
alfiogn is offline   Reply With Quote

Old   January 19, 2022, 02:29
Default
  #3
New Member
 
Alberto Artoni
Join Date: Oct 2019
Posts: 7
Rep Power: 6
AlbertoArtoni is on a distinguished road
Still, I don't understand why in the code there isn't the term \frac{1}{4\pi r}.


Any clues?
AlbertoArtoni 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
post processing for CEL expressions Niru CFX 0 May 10, 2013 13:13
Automated post processing using CFD Post shreyasr ANSYS 0 January 28, 2013 06:21
CFD post processing techniques & streamlining klk Main CFD Forum 0 October 19, 2010 07:37
fluent for post processing James FLUENT 0 April 21, 2006 04:43
post processing in CFD MANISH BHARGAVA Main CFD Forum 0 October 17, 1998 20:51


All times are GMT -4. The time now is 19:47.