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

Surfaces output for two regions.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2020, 07:31
Default Surfaces output for two regions.
  #1
New Member
 
Join Date: Jul 2019
Posts: 11
Rep Power: 7
Jan995 is on a distinguished road
Hi,

I am doing conjugate heat transfer simulations, where I have two different regions. At those separate regions, I want to write temperature fields for specified surfaces. The problem is, that no matter how I write my code, OpenFOAM outputs only surfaces of one regions.

Please find the surfaces files in the attachment.

In controldict I simply put:
functions
{
include "surfaces"
include "surfaces2"
}

Thanks for the suggestions.

EDIT:
The above code works. If anyone needs it, take it.
Attached Files
File Type: txt surfaces.txt (1.1 KB, 18 views)
File Type: txt surfaces2.txt (558 Bytes, 11 views)

Last edited by Jan995; October 29, 2020 at 04:37.
Jan995 is offline   Reply With Quote

Old   October 31, 2020, 15:31
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
What you've noted is quite true and is a missing feature in OpenFOAM. Supporting it would take some additional work, here's my thoughts or explanation.
The surface sampling are built on top of region/mesh function object, which means their "natural" context is a single mesh region. For sampled patches (for an example) sampling on multiple regions doesn't make much sense. For samplers such as an isoSurface, cutting plane or a triSurface, covering multi-regions makes sense, but still has other issues. Probably cannot sample quantities that only exist in one region (eg, U) - need a zero of undefined for the other region? The various mesh searchers are for a single domain only.

So with these various issues, which sampler types do you think are absolutely needed to handle multi-domain?
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
[snappyHexMesh] handling of baffle regions or surfaces with zero thickness with snappyHexMesh StSchiff OpenFOAM Meshing & Mesh Conversion 5 March 8, 2017 10:45
[snappyHexMesh] Using snappyHexMesh for multiple enclosed regions richard_vega OpenFOAM Meshing & Mesh Conversion 0 November 13, 2014 15:28
Questions about data output aki_yafuji OpenFOAM Running, Solving & CFD 3 September 9, 2010 02:59
lift and drag on ship superstructures vaina74 OpenFOAM Running, Solving & CFD 3 June 8, 2010 13:30
Help with DPM UDF for OUTPUT needed Zhengcai Ye FLUENT 0 January 5, 2004 17:58


All times are GMT -4. The time now is 00:01.