|
[Sponsors] |
August 25, 2021, 05:05 |
Initialization of internal field
|
#1 |
New Member
Jeon Young Jin
Join Date: Jul 2021
Posts: 4
Rep Power: 5 |
Dear all,
I am a beginner of OpenFOAM. What I am trying to do is First, I run the simulation using 4m-length tube mesh. Create a new tube mesh with same diameter but longer.(6m-length) Copy the field values of result of 4m-tube simulation, to the 6m-length. Additional 2m is initialized any value that I want. Currently, how I am doing this : Copy the field value (at certain time step) from 1st simulation, and paste it to the 0 folder of longer tube. And then type in the values for all the cells of additional 2m. When grid number becomes large, this is very time-consuming. There might be an easier way to do this. Any help will be appreciated. Thank you! |
|
August 27, 2021, 01:16 |
|
#2 |
Senior Member
|
Hi,
There is a mapFields utility which maps one or more fields relating to a given geometry onto the corresponding fields for another geometry. https://www.openfoam.com/documentati...ent-geometries The official tutorial guide explains how to use the mapFileds utility. https://www.openfoam.com/documentati...en-cavity-flow |
|
August 27, 2021, 05:18 |
|
#3 | |
New Member
Jeon Young Jin
Join Date: Jul 2021
Posts: 4
Rep Power: 5 |
Quote:
Thanks for the reply. I will go through the links you provided. Thanks again! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free surface issues with interDyMFoam for hydroturbine | oumnion | OpenFOAM Running, Solving & CFD | 0 | October 6, 2017 15:05 |
chtMultiRegionSimpleFoam turbulent case | Aditya Patil | OpenFOAM Running, Solving & CFD | 6 | April 24, 2017 23:13 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 05:13 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |