CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Why codedFixedValue BC doesn't work in parallel?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By alexeym
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2017, 11:39
Default Why codedFixedValue BC doesn't work in parallel?
  #1
New Member
 
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mau_cfd is on a distinguished road
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
Attached Images
File Type: jpg errorParallel.jpg (74.6 KB, 53 views)

Last edited by mau_cfd; June 21, 2017 at 12:37.
mau_cfd is offline   Reply With Quote

Old   June 21, 2017, 18:05
Default
  #2
New Member
 
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mau_cfd is on a distinguished road
It depends of the direction of the partition if it crash or not.
mau_cfd is offline   Reply With Quote

Old   June 22, 2017, 07:45
Default
  #3
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Since it is CODED fixed value, it would be much easier to diagnose your case if you actually post your code.
Tobi and vsb like this.
alexeym is offline   Reply With Quote

Old   June 23, 2017, 20:45
Default
  #4
New Member
 
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mau_cfd is on a distinguished road
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.
Attached Files
File Type: txt T.txt (7.4 KB, 41 views)
mau_cfd is offline   Reply With Quote

Old   June 24, 2017, 08:22
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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");
sets patchID to -1, and the rest becomes slightly meaningless.

Either decompose domain so parts of above mentioned patches are present in all subdomains, or rewrite code.
mau_cfd likes this.
alexeym is offline   Reply With Quote

Old   June 26, 2017, 12:34
Default
  #6
New Member
 
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mau_cfd is on a distinguished road
Thank you alexeym for the explanation, now I see very clear what is happening. I'll follow your recommendations.
Best Regards.

Mauricio
mau_cfd is offline   Reply With Quote

Old   July 5, 2017, 17:01
Default
  #7
New Member
 
Mauricio de Alba
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mau_cfd is on a distinguished road
Hi,
Decompose the domain with "preservePatches" option solved the problem.
Thanks for the hint alexeym.
mau_cfd 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
Error running simpleFoam in parallel Yuby OpenFOAM Running, Solving & CFD 14 October 7, 2021 04:38
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
chtMultiRegionSimpleFoam: crash on parallel run student666 OpenFOAM Running, Solving & CFD 3 April 20, 2017 11:05
User fortran to input/output file in a parallel run doublestrong CFX 5 March 31, 2017 08:15
Cases with small length scale work fine on a single processor but fail in parallel adona058 OpenFOAM Bugs 5 April 17, 2009 04:41


All times are GMT -4. The time now is 23:39.