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

Check if a face center lies on a patch that is not being meshed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2020, 09:24
Default Check if a face center lies on a patch that is not being meshed
  #1
Member
 
David Andersson
Join Date: Oct 2019
Posts: 46
Rep Power: 7
sippanspojk is on a distinguished road
Hi all,

I am simulating wind on a highrise building and I need to check if a face center lies on a patch that is not being meshed.

I have a couple of .stl-files that describes my geometry and that I include in snappy for meshing.

I need to assign a constant value to each face that I will use for further computations and I therefore thought I could provide a list that links each patch in a second set of stl-files (that also describes the complete geometry but by more and different files) with a constant value and check on which patch each of my meshed faces lie.

The second set of stl's are NOT included in the snappyDict and hence not meshed, however they are found in the constant/triSurface directory.

A bit tricky to explain my problem but I hope someone understands what it is I am trying to do and it would be great if someone could help me out here.

Thanks,
David
sippanspojk 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
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 03:01
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12


All times are GMT -4. The time now is 04:22.