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

MapFields patches

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2020, 02:52
Default MapFields patches
  #1
Member
 
SimonStar's Avatar
 
Simon
Join Date: Sep 2019
Location: Germany
Posts: 51
Rep Power: 6
SimonStar is on a distinguished road
Hello everyone.


I am trying to use mapFields to interpolate the Fields from one case to another.

My basic case is just a cube (6 Walls) and a fiber with small diameter inside going through the whole cube from Y+ to Y-. In further cases the fiber can have a larger diameter but I want the same U-Field.

What I did is:

- meshing all cases
- solving the basic Case with simpleFoam
- using mapFields like this:

mapFields -sourceTime 'latestTime' ../3_case_SFE/
I am not using the -consistent optien because everything except the pipe is the same.

Code:
Source: "..."
Target: "..."

Create databases as time

Source time: 400
Target time: 0
Create meshes

Source mesh size: 179982    Target mesh size: 190634

--> FOAM Warning : 
    From function Foam::meshToMesh0::meshToMesh0(const Foam::fvMesh&, const Foam::fvMesh&, const Foam::HashTable<Foam::word>&, const wordList&)
    in file meshToMesh0/meshToMesh0.C at line 90
    Cannot find cutting-patch <fiber_fine> in destination mesh

Mapping fields for time 400

    interpolating p
--> FOAM Warning : 
    From function Foam::Field<Type>::Field(const Foam::word&, const Foam::dictionary&, Foam::label) [with Type = double; Foam::label = int]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-7/src/OpenFOAM/lnInclude/Field.C at line 232
    Reading "/.../50_3_caseTest/0/p.boundaryField.maxY" from line 46 to line 48
    expected keyword 'uniform' or 'nonuniform', assuming deprecated Field format from Foam version 2.0.
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigSegv::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/mapFields"
#4  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/mapFields"
#5  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/mapFields"
#6  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/mapFields"
#7  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/mapFields"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/mapFields"
Speicherzugriffsfehler (Speicherabzug geschrieben)
Now my questions:


- I can see it wants to have a cutting-patch called fiber_fine. Fiber_fine is here the name of my stl-Geometry. But I can not make this patch because it is a complicated geometry. How can I make this?

- What does it mean if it expects the keyword 'uniform' or 'nonuniform'?


Thank you
Simon

Last edited by SimonStar; August 17, 2020 at 04:48.
SimonStar is offline   Reply With Quote

Reply

Tags
mapfields fiber error


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
Problem using AMI vinz OpenFOAM Running, Solving & CFD 298 November 13, 2023 08:19
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." lethu OpenFOAM Meshing & Mesh Conversion 1 June 3, 2020 07:49
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 08:00
[blockMesh] Merging edge patches Yosmcer OpenFOAM Meshing & Mesh Conversion 11 November 16, 2014 14:51


All times are GMT -4. The time now is 09:08.