CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Surfaces output for two regions.

Register Blogs Members List Search Today's Posts Mark Forums Read

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

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:
include "surfaces"
include "surfaces2"

Thanks for the suggestions.

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

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

Old   October 31, 2020, 14:31
Senior Member
Mark Olesen
Join Date: Mar 2009
Posts: 1,279
Rep Power: 31
olesen will become famous soon enougholesen will become famous soon enough
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:45
[snappyHexMesh] Using snappyHexMesh for multiple enclosed regions richard_vega OpenFOAM Meshing & Mesh Conversion 0 November 13, 2014 14:28
Questions about data output aki_yafuji OpenFOAM Running, Solving & CFD 3 September 9, 2010 01:59
lift and drag on ship superstructures vaina74 OpenFOAM Running, Solving & CFD 3 June 8, 2010 12:30
Help with DPM UDF for OUTPUT needed Zhengcai Ye FLUENT 0 January 5, 2004 16:58

All times are GMT -4. The time now is 02:06.