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

Eliptic Relaxation in interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2010, 17:05
Default Eliptic Relaxation in interFoam
  #1
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 23
santiagomarquezd will become famous soon enough
Hi FOAMers!

I'm working in interFoam again, this time with some more experience... I was reading Rusche's Thesis and if I'm not wrong, Smoothing of alpha field before nhatf calculation, is no longer done? Or never was used really in the code?

From interfaceProperties.C (1.6) we have:

Code:
00102     const surfaceVectorField& Sf = mesh.Sf();
00103 
00104     // Cell gradient of alpha
00105     volVectorField gradAlpha = fvc::grad(alpha1_);
00106 
00107     // Interpolated face-gradient of alpha
00108     surfaceVectorField gradAlphaf = fvc::interpolate(gradAlpha);
00109     //gradAlphaf -=
00110     //    (mesh.Sf()/mesh.magSf())
00111     //   *(fvc::snGrad(alpha1_) - (mesh.Sf() & gradAlphaf)/mesh.magSf());
00112 
00113     // Face unit interface normal
00114     surfaceVectorField nHatfv = gradAlphaf/(mag(gradAlphaf) + deltaN_);
00115     correctContactAngle(nHatfv.boundaryField());
00116 
00117     // Face unit interface normal flux
00118     nHatf_ = nHatfv & Sf;
here alpha1_ field is that was read from /0 directory without any smoothing proccess.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Research Scientist
Research Center for Computational Methods (CIMEC) - CONICET/UNL
Tel: 54-342-4511594 Int. 7032
Colectora Ruta Nac. 168 / Paraje El Pozo
(3000) Santa Fe - Argentina.
http://www.cimec.org.ar
santiagomarquezd 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
InterFoam stops after deltaT goes to 1e14 francesco_b OpenFOAM Running, Solving & CFD 9 July 25, 2020 06:36
Purpose of relaxation factors Mohsin FLUENT 5 April 30, 2010 11:57
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58
Relaxation and convergence sammi Phoenics 0 March 20, 2008 03:32
Question on adjusting relaxation factor CFD Rookie Main CFD Forum 3 January 26, 2004 14:37


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