Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
142776ae
Commit
142776ae
authored
10 years ago
by
Henry
Browse files
Options
Downloads
Patches
Plain Diff
advectionDiffusionPatchDistMethod: Added more description including specification of relaxation
parent
d7abd506
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.H
+35
-0
35 additions, 0 deletions
...ds/advectionDiffusion/advectionDiffusionPatchDistMethod.H
with
35 additions
and
0 deletions
src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.H
+
35
−
0
View file @
142776ae
...
...
@@ -29,6 +29,17 @@ Description
boundary by solving the Eikonal equation in advection form with diffusion
smoothing.
If the diffusion coefficient is set to 0 this method is exact in principle
but the numerical schemes used are not rendering the scheme approximate, but
more accurate than the Poisson method. Also many models relying on the
distance to the wall benefit from this field being smooth and monotonic so
the addition of diffusion smoothing improves both the convergence and
stability of the solution of the Eikonal equation and the behavior of the
models using the distance field generated. However, it is not clear what
the optimum value for the diffusion coefficient epsilon should be; a
default value of 0.1 is provided but higher values may be preferable under
some circumstances.
Convergence is accelerated by first generating an approximate solution
using one of the simpler methods, e.g. Poisson. The method used for
this prediction step is specified in the 'advectionDiffusionCoeffs'
...
...
@@ -90,6 +101,18 @@ Description
relTol 0;
}
relaxationFactors
{
equations
{
.
.
yWall 1;
.
.
}
}
or for more complex cases:
yPsi
...
...
@@ -115,6 +138,18 @@ Description
tolerance 1e-4;
relTol 0;
}
relaxationFactors
{
equations
{
.
.
yWall 0.7;
.
.
}
}
\endverbatim
SeeAlso
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment