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

External volume forces

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2011, 10:20
Default External volume forces
  #1
New Member
 
Silvio Merazzi
Join Date: Mar 2011
Posts: 2
Rep Power: 0
merazzi is on a distinguished road
Hej,

How does one add external volume forces in Edge? Is there a documentation on this topic?

Best regards,

Silvio
merazzi is offline  

Old   March 31, 2011, 03:32
Default
  #2
jka
New Member
 
Adam Jirasek
Join Date: Mar 2011
Posts: 18
Rep Power: 15
jka is on a distinguished road
I think you have to go to source code to do it. Do you have access to the source code?

Adam
jka is offline  

Old   April 1, 2011, 05:24
Default
  #3
New Member
 
Silvio Merazzi
Join Date: Mar 2011
Posts: 2
Rep Power: 0
merazzi is on a distinguished road
Yes, we have source code.

Silvio
merazzi is offline  

Old   April 1, 2011, 15:10
Default
  #4
jka
New Member
 
Adam Jirasek
Join Date: Mar 2011
Posts: 18
Rep Power: 15
jka is on a distinguished road
It depends where you define your external force - in mesh points or mesh edges.

For edges:
Check how is it done for other cases. Have a look at the routine called gvortexgen_m.f90. It is called from FSOURCE only at the highest level of the multigrid cycle which I think is the best way. Then in gvortexgen_m.f90 the source term is added to the viscous residuals (line 222 - 235)
Because I define source term on edge I redistributed it to point on the edge with indeces IP1 and IP2. If you define your force directly in points, you do not have to loop over edges and instead make a loop directly over
points.

For points:

Check path fsource_m.f90 -> gsoukz_m.f90 which calls
source terms for turbulence models. They do loop over points.

Hope it helps

Adam
jka is offline  

 

Tags
volume forces


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
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 16:46.