|
[Sponsors] |
surfaceFeatureExtractDict vs surfaceFeaturesDict |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 3, 2021, 14:49 |
surfaceFeatureExtractDict vs surfaceFeaturesDict
|
#1 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 288
Rep Power: 6 |
This is a question about syntax between the different versions of OpenFoam.
In the openFoam.com version, the surfaceFeatureExtractDict looks like this: surfaceFeatureExtractDict main.stl { extractionMethod extractFromSurface; extractFromSurfaceCoeffs { includedAngle 150;} } orifice.stl { extractionMethod extractFromSurface; extractFromSurfaceCoeffs { includedAngle 120;} } Whereas, the way I have been showing it in the openFoam.org version is: surfaceFeaturesDict surfaces ( "main.stl" "orifice.stl" ); includedAngle 150; Question: in the latter version, the .stl files are grouped together, with one overall includedAngle number. If for some reason, I wanted to have different includedAngles, how would I list them separately with different angles, as is done in the openFoam.com case? |
|
June 4, 2021, 06:34 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello Alan,
A simple tip which can be very useful: in the OpenFOAM installation directory, have a look at the etc/caseDicts/annotated/ directory. It contains annotated dictionaries allowing you to see the different functionalities available in a specific dict file. I don't know if it is really exhaustive but this is usually a very good starting point for a lot of utilities. This directory exists for both ESI/OpenCFD and foundation branches. For instance about surfaceFeatureExtract/surfaceFeatures :
Yann |
|
|
|