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

How to Map Fields in openFOAM using the utility

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

Like Tree24Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2017, 06:40
Default
  #41
New Member
 
Kim Le
Join Date: May 2016
Location: Lyon, France
Posts: 21
Rep Power: 9
lethu is on a distinguished road
Hello everyone,

I have been encountering problems with mapFields.

I have posted my problems here :
Mapping values with different domains, water channel

My new domain is smaller than the previous one. My new inlet and outlet are at the same position but they are cut. As I explained, the first simulation was using interFoam, the second simulation I want to carry is only using the water part.

If anyone know why mapFields does not want to map the U field, please tell me why. Thanks !

EDIT : Problem solved using reconstructPar !

Last edited by lethu; June 26, 2017 at 11:06.
lethu is offline   Reply With Quote

Old   January 13, 2018, 08:45
Default Mapping a time series
  #42
New Member
 
Maria
Join Date: Feb 2017
Posts: 25
Rep Power: 9
hoemmaria is on a distinguished road
Hi!

Using the information found in this thread I have successfully mapped a solution from a fine mesh over to a coarser mesh.
However, my problem is transient, and thus I would like to map several time steps to the coarser case.

An example: I want to map the time steps 0.5-1 s.
I tried putting startTime in the target case as 0.5 and having the endTime as 1. But when I ran mapFields ../sourceCase -consistent I only got the time step folder for 0.5 in the target case.
So far I have only been able to map one time step at the time which is a very slow way of getting where I want.

Does anyone know how to map several time steps at once?

Kind regards,
Maria
hoemmaria is offline   Reply With Quote

Old   January 15, 2018, 09:52
Default
  #43
Member
 
Sebastian Trunk
Join Date: Mar 2015
Location: Erlangen, Germany
Posts: 60
Rep Power: 11
sisetrun is on a distinguished road
Hello Maria,

You can map the 0.5 by typing

Code:
mapFields -sourceTime 0.5 ../sourceCase
in your target Case!
sisetrun is offline   Reply With Quote

Reply

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
Map fields every time step sebas OpenFOAM Programming & Development 17 December 5, 2012 14:13
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
Matching Velocity and Pressure fields Fluent OpenFoam alimansouri OpenFOAM Running, Solving & CFD 0 January 13, 2009 18:51
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 10:33


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