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

Mapping outlet patch to inlet patch of new case

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By val46

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

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:
Code:
setFormat raw;

surfaceFormat foamFile;

interpolationScheme cell;

fields
(
    U
);

surfaces
(
    newINLET
    {
        type            patch;
        patchName       OUTLET;
    }
And in 0/U I have:
Code:
INLET
    {
    type        timeVaryingMappedFixedValue;
    setAverage    off;
    }
Regards,
Toni
Attached Images
File Type: jpg test.jpg (24.2 KB, 64 views)
File Type: jpg test2.jpg (60.5 KB, 73 views)
lpz456 likes this.
val46 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
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 05:20
Mapping Boundary Conditions to Another Case jordan OpenFOAM 4 May 19, 2010 13:51
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09: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 20:51.