View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002014 | OpenFOAM | Feature | public | 2016-03-05 00:33 | 2017-09-03 19:43 |
Reporter | jkim | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | suspended | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0002014: problem running decomposePar | ||||
Description | There is a problem in running decompsePar for the circuitBoard tutorial case in buoyantSimpleFoam. The problem is that decompsePar cannot find a patchGroup. The decompsePar in OpenFOAM-3.0.x is not working when there is a thermalBaffle in T field. | ||||
Tags | No tags attached. | ||||
|
I was curious about this issue and unfortunately this is a missing feature that is still also missing from OpenFOAM-dev, at least as far as I can tell. THe problem is that the 3D baffle is using a relatively recent "regionModels" feature that allows for mesh regions created on-demand. In this case, it's created by createBaffles, when it's initializing and updating the fields. Nonetheless, there is a workaround for this. The instructions are as follows: 1. Place the attached "Allrun-parallel" script inside the case folder (it's designed for OpenFOAM 3.0.x). 2. Make the script executable: chmod +x Allrun-parallel 3. Place a "decomposeParDict" file in both "system" and "system/baffle3DRegion". If you don't have at least one of them yet, then: cp $FOAM_UTILITIES/parallelProcessing/decomposePar/decomposeParDict system/ cp $FOAM_UTILITIES/parallelProcessing/decomposePar/decomposeParDict system/baffle3DRegion/ 4. Don't forget to adjust the core count in the "decomposeParDict" and "Allrun-parallel" files. 5. Now you can run the case: ./Allrun-parallel 6. To post-process, you must use "foamToVTK" in parallel or use the built-in reader in ParaView. @Henry: Unfortunately I'm still not familiar enough with the relatively new on-the-fly-regionModels feature and it doesn't feel like it is just a matter of copy-paste-adapting some of the code from "createBaffles" into "decomposePar" and "reconstructPar". I don't know how you want to proceed on this issue for OpenFOAM-dev, i.e. if it's pending on funding or a contribution for implementing this feature, or even if this is already in development. |
|
Allrun-parallel (486 bytes)
#!/bin/sh . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name application=`getApplication` runApplication blockMesh cp -r 0.org 0 runApplication decomposePar for proc in processor* do cp -r 0.org/baffle3DRegion $proc/0/ done # Create 1D and 3D baffles in parallel runParallel createBaffles 2 -overwrite # Run the case in parallel runParallel $application 2 # Note: You must use the built-in reader for seeing the two regions in parallel paraFoam -touch -builtin |
|
I don't have any current plans to work on this part of OpenFOAM. Any contributions to improve this functionality would be appreciated. |
|
It's been over a year now. I'm suspending this report for now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-05 00:33 | jkim | New Issue | |
2016-03-05 20:09 | wyldckat | Note Added: 0005995 | |
2016-03-05 20:09 | wyldckat | File Added: Allrun-parallel | |
2016-03-06 19:12 | henry | Note Added: 0005999 | |
2016-03-11 11:44 | administrator | Category | 3.0.1 => (No Category) |
2016-03-20 20:37 | wyldckat | Category | (No Category) => Bug |
2017-09-03 19:42 | wyldckat | Category | Bug => Feature |
2017-09-03 19:43 | wyldckat | Status | new => closed |
2017-09-03 19:43 | wyldckat | Resolution | open => suspended |
2017-09-03 19:43 | wyldckat | Note Added: 0008676 |