|
[Sponsors] |
Why codedFixedValue BC doesn't work in parallel? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 20, 2017, 12:39 |
Why codedFixedValue BC doesn't work in parallel?
|
#1 |
New Member
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 10 |
Hi there. I'm running a rhoPimpleFoam case where in a BC I use a codedFixedValue to set its temperature as the one read from other BC. It works fine when it runs in serial but when I try to run it in parallel I get the message shown in the picture.
The same problem with two OpFm versions OF1612+ and OpFm version 17.06 from CFD Support that I think is the OpFm dev from the fundation under cygwin running in Windows. I have to say that the crash message is not the same, I'm showing the one for the 17.06 version. Hope someone can help me. Regards. Mauricio Last edited by mau_cfd; June 21, 2017 at 13:37. |
|
June 21, 2017, 19:05 |
|
#2 |
New Member
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 10 |
It depends of the direction of the partition if it crash or not.
|
|
June 22, 2017, 08:45 |
|
#3 |
Senior Member
|
Hi,
Since it is CODED fixed value, it would be much easier to diagnose your case if you actually post your code. |
|
June 23, 2017, 21:45 |
|
#4 |
New Member
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 10 |
Thank you very much for reply alexeym, I appreciate your time. I've been reading older post related and looks like an abnormal mathematical operation results when pointing in the mesh with the code inside the codedFixedValue. The strange thing to me is that this only happen when running in parallel and even in that case depends on the direction of decomposing the domain.
I'm posting the 0/T where I have the coded BC. The case is related with a freezer of a household refrigerator. Regards. |
|
June 24, 2017, 09:22 |
|
#5 |
Senior Member
|
Hi,
Strange things can happen in FZ_SUCCION patch is not present in subdomain, where FZ_INLET is located. This line Code:
label patchID = mesh.boundaryMesh().findPatchID("FZ_SUCCION"); Either decompose domain so parts of above mentioned patches are present in all subdomains, or rewrite code. |
|
June 26, 2017, 13:34 |
|
#6 |
New Member
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 10 |
Thank you alexeym for the explanation, now I see very clear what is happening. I'll follow your recommendations.
Best Regards. Mauricio |
|
July 5, 2017, 18:01 |
|
#7 |
New Member
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 10 |
Hi,
Decompose the domain with "preservePatches" option solved the problem. Thanks for the hint alexeym. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error running simpleFoam in parallel | Yuby | OpenFOAM Running, Solving & CFD | 14 | October 7, 2021 05:38 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
chtMultiRegionSimpleFoam: crash on parallel run | student666 | OpenFOAM Running, Solving & CFD | 3 | April 20, 2017 12:05 |
User fortran to input/output file in a parallel run | doublestrong | CFX | 5 | March 31, 2017 09:15 |
Cases with small length scale work fine on a single processor but fail in parallel | adona058 | OpenFOAM Bugs | 5 | April 17, 2009 05:41 |