CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Mapping outlet patch to inlet patch of new case

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

LinkBack Thread Tools Display Modes
Old   February 18, 2011, 12:22
Default Mapping outlet patch to inlet patch of new case
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 10
val46 is on a distinguished road

I'm trying to run a case with a velocity profile (on the inlet patch) that comes from a previous simulation.
I have a rectangular channel where inlet and outlet have different meshes.
It's a problem that has been discussed here in the forum many times before. Unfortunately I couldn't find a solution for it yet.

First thing is mapfields
I think it's not the right tool because it maps the volume field and not only the surface field.

Second thing is sample + timeVaryingMappedFixedValue
I was able to sample the velocity field from the outlet patch of the previous run with the sample tool.
But obviously I'm doing something wrong when using timeVaryingMappedFixedValue.
The interpolation onto the new inlet patch looks horrible (see attached picture).

Any hints about what I'm doing wrong?

This is my sampleDict file:
setFormat raw;

surfaceFormat foamFile;

interpolationScheme cell;


        type            patch;
        patchName       OUTLET;
And in 0/U I have:
    type        timeVaryingMappedFixedValue;
    setAverage    off;
Attached Images
File Type: jpg test.jpg (24.2 KB, 33 views)
File Type: jpg test2.jpg (60.5 KB, 42 views)
val46 is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 133 July 27, 2017 04:45
Mapping Boundary Conditions to Another Case jordan OpenFOAM 4 May 19, 2010 12:51
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19
inlet and outlet boundary condition of pump Thammasak CFX 0 February 9, 2004 14:02

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