|
[Sponsors] |
Problem with functionObjects and parallel Processing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 20, 2024, 13:14 |
Problem with functionObjects and parallel Processing
|
#1 |
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 56
Rep Power: 10 |
Hello Everyone,
When I'm trying to run a case with one of the filedFunctionObjects called interfaceHeight, I'm facing a strange problem. Imagine I have assigned the write interval to each of two-time steps; the solver freezes at the time it is trying to write. Before asking the system support to check the validity of their OpenFOAM compilation, Has anyone faced something similar to this? I checked other function objects, and they can write to the hard drive without any problem, also, the odd thing is there is no error! it just waits without any crash till the end 😄 Please let me know your thoughts on this. |
|
August 21, 2024, 03:33 |
|
#2 | |
Member
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 46
Rep Power: 6 |
Hi,
Which OpenFOAM version are you using? Can you share a test case where the problem is occurring? Also, I am not sure what you mean by Quote:
I tried interfaceHeight in one of the tutorials available in OpenFOAM-v2312 and there's no issue with writing the output. Cheers, Lorenzo |
||
August 21, 2024, 09:07 |
|
#3 | |||
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 56
Rep Power: 10 |
Hi Lorenzo,
First of all, I had to say that I forgot to mention it is happening during parallel processing, when I'm on a single core, everything is fine. Quote:
Also by Quote:
HTML Code:
writeControl timeStep; writeInterval 2; Quote:
Cheers, Amir. |
||||
August 21, 2024, 09:47 |
|
#4 |
Member
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 46
Rep Power: 6 |
Hi Amir,
Thanks for the information. I ran the tutorial even in parallel, it works with different decomposition method, number of cores, writeInterval etc. I used both interCondensatingEvaporatingFoam and interFoam. As an initial guess, it could be a good idea to test a coarse and fast version of your test case on a regular computer and understand if the issue is correlated with the cluster you are working with.. However, It looks weird that other functions object work, because it makes it look like interfaceHeight has something wrong here.. Unfortunately I have no experience in running interfaceHeight on clusters. Cheers, Lorenzo |
|
August 22, 2024, 07:03 |
|
#5 | ||
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 56
Rep Power: 10 |
Hi Lorenzo,
Thanks for this, Quote:
Quote:
Bests, Amir. |
|||
Tags |
functionobjects, interfoam, parallel computation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with writeIntegratedHeader functionObject in parallel processing | Shibi | OpenFOAM Programming & Development | 1 | May 16, 2021 16:44 |
Problem in Running OpenFoam in Parallel | himanshu28 | OpenFOAM Running, Solving & CFD | 1 | July 11, 2013 10:19 |
Problem with functionObjects in parallel | anishtain4 | OpenFOAM | 4 | February 12, 2013 06:27 |
OpenFOAM v1.6 & OpenMPI & functionObjects | bruce | OpenFOAM Bugs | 7 | December 16, 2011 15:37 |
OpenFOAM v1.6 & OpenMPI & functionObjects | bruce | OpenFOAM Running, Solving & CFD | 1 | August 7, 2009 14:15 |