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

surfaceFeatureExtractDict vs surfaceFeaturesDict

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2021, 13:49
Default surfaceFeatureExtractDict vs surfaceFeaturesDict
  #1
Senior Member
 
Alan w
Join Date: Feb 2021
Posts: 268
Rep Power: 6
boffin5 is on a distinguished road
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?
boffin5 is offline   Reply With Quote

Old   June 4, 2021, 05:34
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,085
Rep Power: 26
Yann will become famous soon enough
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 :
Have fun!
Yann
XJ_Wang and erinsam like this.
Yann 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



All times are GMT -4. The time now is 23:59.