CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

sample custon surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2020, 07:52
Default sample custon surface
  #1
Member
 
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 11
hulli is on a distinguished road
Hi,


does anybody know how to postprocess a surface that is smaller than my model extends. Basically I want to produce a custom slice through my model, sililar to paraview but without paraview. However, I do not succeed with the expression below using the sampleDict / surfaceDict... Any ideas


yCut
{
// Cutingplane using iso surface
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0.01 0.01 0.01);
normalVector (0.0 0.00 1);
// zone (zone1);
}
interpolate false;
}
hulli is offline   Reply With Quote

Old   October 27, 2020, 15:26
Default
  #2
Senior Member
 
Join Date: Oct 2017
Posts: 121
Rep Power: 8
Krapf is on a distinguished road
Do you use OpenFoam v8? If that's the case, maybe you could use topoSet with planeToFaceZone and faceZoneAverage to achieve what you want.
Krapf is offline   Reply With Quote

Old   October 28, 2020, 03:38
Default
  #3
Member
 
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 11
hulli is on a distinguished road
Hi, thanks ... So for now I was running OF5x so I will try that with OF 8 ... I`ll keep you in the loop
hulli is offline   Reply With Quote

Old   October 30, 2020, 02:51
Default surface
  #4
Member
 
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 11
hulli is on a distinguished road
Hi,


actually I have not been able to manage that ... It sucks somewhat because my model is so heavy in terms of memory, so the postprocess with paraview is actually not the way to go ... May be someone else has an idea ...
I just want to corp a slice ...

I also tired that by using a stl but then I only get the intersection between my field and the stl which is not what I want ...
Any other sugestions ???
hulli is offline   Reply With Quote

Old   November 7, 2020, 04:58
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,687
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by hulli View Post
I also tired that by using a stl but then I only get the intersection between my field and the stl which is not what I want ...
Any other sugestions ???
Still not really sure what you want to do, but another possibility might be distance surface sampling with OpenFOAM-v1906 or later. If you specify that the distance is 0, and it should use signed distances, there is a bit of code optimisation that disregards all cells are not close to the surface intersection. For the rest, it builds a distance field and creates an isosurface. Can specify isoAlgorithm (topo | cell | point).
In end effect this causes a cell cutting much like the sampling plane does.
olesen 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] gmshToFoam generates patches with 0 faces and 0 points Simurgh OpenFOAM Meshing & Mesh Conversion 4 August 25, 2023 07:58
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 11:05
area averaged pressure of sample surface FerdiFuchs OpenFOAM Post-Processing 1 October 24, 2014 09:50
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 04:31
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 12:43


All times are GMT -4. The time now is 17:55.