Using .stl - Surface for Average Pressure / Mass Flux / ...
Dear Reader,
I made a pipe with blockMesh where I want to implement some .stl - surfaces , where I can analyze for example the average pressure , mass flux, mean temperature etc. during my calculations (not in post-processing). I tried to use the tutorial snappyMultiRegionHeater as help: First I created a .stl -surface in Ansa. Then I created a dictionary in the constant dictionary called triSurface, where I have put my .stl file Questions 1) Overall: Do I have to use snappyhexmesh or is it possible to do it without snappy . That means: Do I have to mesh my .stl surface file or is it enough just to create a directory with the .stl file? 2) Since it is only used for analyzing: do I have to create a dictionary in the constant directory with files for turbulenceproperties, RasProperties, ... for the .stl surface? Actually I would not know what kind of entries I should add in those files, because it's just for analyzing data. 3) I am trying to implement the analyzing of the surface in the ControlDict using swak4Foam : Code:
/*--------------------------------*- C++ -*----------------------------------*\ Thank you in advance |
Quote:
It is possible to use the STL sampling surface without changes to your mesh (it wouldn't be as useful IMO otherwise). Think of it as giving OF a list of points to probe. You don't need any dictionaries or such for the STL file apart from the sampling command. I haven't used triSurfaceSampling with swak, but your code looks reasonable. |
It's working :-) Thank you for your background information!
|
All times are GMT -4. The time now is 03:10. |