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 Community New Posts Updated Threads Search

Like Tree25Likes

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: 10
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

Old   November 19, 2024, 23:20
Default Map field problem
  #44
New Member
 
hazem khaled
Join Date: Jan 2019
Posts: 3
Rep Power: 7
Hazemabdallah is on a distinguished road
Hi
I followed what is written here and it works with me, but for the new domain, when i open to check the velocity profile at Inlet, I found a different profile from the one I sampled.
Do you know how I can fix this ?
Thanks
Hazemabdallah 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
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 16:52.