CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   mapFields problem (https://www.cfd-online.com/Forums/openfoam/109022-mapfields-problem.html)

martyn88 November 7, 2012 09:29

mapFields problem
 
Hi everyone,

I am having problems mapping fields from a coarser mesh to a finer mesh using mapFields in a parallel simulation.

My source (low res) case was run in parallel (the domain is decomposed into 24 subdomains) and the geometry and boundary conditions are consistent with my target case.

So initially I decomposed my target (high res) case first then performed mapFields using the following tags:
- consistent
- parallelSource
- parallelTarget

However this didn't work.

I then reconstructed my source case and then used this single time directory to map to the decomposed target case using the following tags:
- consistent
- parallelTarget

But this still didn't work.

I then just tried to mapFields from the single reconstructed time directory to a single target before decomposing the domain using the following tags:
-consistent

and it still didn't work.

For every method I tried the result was the same: it never seemed to even start.

You can see this in the shell output below:


| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-bd7367f93311
Exec : mapFields hming1@msgln6.its.monash.edu.au:SCRATCH/NEW-SCRATCH/1100k_3 -case . -consistent
Date : Nov 08 2012
Time : 00:41:55
Host : "gn139.its.monash.edu.au"
PID : 28321
Case : /scr-nfs/stefano-2012/hming1/3900k_1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Source: "hming1@msgln6.its.monash.edu.au:SCRATCH/NEW-SCRATCH" "1100k_3"
Target: "/scr-nfs/stefano-2012/hming1" "3900k_1"

Create databases as time





Does anyone have any idea how to fix this?

Thanks

LauraP November 8, 2012 13:42

You need to create initial data files in your target directory. The target directory and the source directory need to be at the same time.


All times are GMT -4. The time now is 03:04.