Difference between revisions of "Scripts/blockMesh grading calculation"

From OpenFOAMWiki
m (Add link to fallback)
m (Changed link to the repository)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOCACHE__
 +
 +
 
The purpose of this script is to calculate the grading factor as described in [http://www.openfoam.org/docs/user/blockMesh.php the user guide].
 
The purpose of this script is to calculate the grading factor as described in [http://www.openfoam.org/docs/user/blockMesh.php the user guide].
  
* Three of the 6 values can be specified. The other 3 values are calculated from then. Specify the input values with the three drop-down buttons.
+
* Three of the 6 values can be specified. The other 3 values are calculated from them. Specify the input values with the three drop-down buttons.
 
* Not all combinations of input values are valid (for instance: there has to be at least one length specified to calculate the others)
 
* Not all combinations of input values are valid (for instance: there has to be at least one length specified to calculate the others)
  
Line 8: Line 11:
 
If you don't see the drop-downs and the input boxes here then there is a problem with the JavaScript script. Make sure that JavaScript is enabled for your browser.
 
If you don't see the drop-downs and the input boxes here then there is a problem with the JavaScript script. Make sure that JavaScript is enabled for your browser.
  
Also the Software of the Wiki messes with the script. Try [http://bgschaid.bitbucket.org/blockMeshGradingWeb/ this version] as a fallback
+
Also the Software of the Wiki messes with the script. Try [http://bgschaid.bitbucket.org/blockMeshGradingWeb/ this version] as a fallback (there seems to be a problem with Caching)
 
</div>
 
</div>
  
The idea for this calculator comes from [http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/61785-blockmesh-grading-calculator.html this thread on the MessageBoard]. The sources can be found here on [https://bitbucket.org/bgschaid/blockmeshgradingweb BitBucket].
+
The idea for this calculator comes from [http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/61785-blockmesh-grading-calculator.html this thread on the MessageBoard]. The sources used to be on BitBucket but a copy can now be found on [https://gitlab.com/herpes-free-engineer-hpe/blockmeshgradingweb GitLab]

Latest revision as of 19:16, 28 November 2020


The purpose of this script is to calculate the grading factor as described in the user guide.

  • Three of the 6 values can be specified. The other 3 values are calculated from them. Specify the input values with the three drop-down buttons.
  • Not all combinations of input values are valid (for instance: there has to be at least one length specified to calculate the others)


If you don't see the drop-downs and the input boxes here then there is a problem with the JavaScript script. Make sure that JavaScript is enabled for your browser.

Also the Software of the Wiki messes with the script. Try this version as a fallback (there seems to be a problem with Caching)

The idea for this calculator comes from this thread on the MessageBoard. The sources used to be on BitBucket but a copy can now be found on GitLab