CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

running viewFactor model in parallel

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By tehache
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2012, 12:40
Default running viewFactor model in parallel
  #1
Member
 
Yuri Feldman
Join Date: Mar 2011
Posts: 30
Rep Power: 15
feldy77 is on a distinguished road
Hi Foamers,
Can anybody guide me through the setup
process necessary for parallel running of viewFactor radiation model
Many thanks, Yuri
feldy77 is offline   Reply With Quote

Old   April 29, 2014, 11:18
Default viewfactors in parallel?
  #2
Senior Member
 
Thomas Jung
Join Date: Mar 2009
Posts: 102
Rep Power: 17
tehache is on a distinguished road
First: Sorry for duplicate posting - I just accidentally posted the same as a reply to an older existing question - but in the OpenFoam Forum, instead of Running, Solving, CFD...

My question is, has anybody successfully run S2S radiation problems using the viewfactor method in parallel?

I am failing with the file "FinalAgglom" missing in the processor subdirectories, and have no idea how to decompose or distribute that.

Thanks a lot for any hint!

Found out myself - but as I have seen others asking the same: The trick is to run faceAgglomerate and viewFactorsGen also in parallel, after decomposing the case,
and with the same number of processes ...
a.hajisharifi likes this.

Last edited by tehache; April 30, 2014 at 04:05.
tehache is offline   Reply With Quote

Old   April 30, 2014, 13:47
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Thomas,

Quote:
Originally Posted by tehache View Post
First: Sorry for duplicate posting - I just accidentally posted the same as a reply to an older existing question - but in the OpenFoam Forum, instead of Running, Solving, CFD...
I've moved your latest post to this thread and deleted the other post, as it was more incomplete and as you've indicated, was an accidental post.

Quote:
Originally Posted by tehache View Post
Found out myself - but as I have seen others asking the same: The trick is to run faceAgglomerate and viewFactorsGen also in parallel, after decomposing the case,
and with the same number of processes ...
Thanks for sharing the solution you've found!

Best regards,
Bruno
a.hajisharifi likes this.
wyldckat is offline   Reply With Quote

Old   June 19, 2021, 13:05
Default
  #4
New Member
 
Arash
Join Date: Dec 2015
Location: vienna
Posts: 15
Rep Power: 10
a.hajisharifi is on a distinguished road
Quote:
Originally Posted by tehache View Post
First: Sorry for duplicate posting - I just accidentally posted the same as a reply to an older existing question - but in the OpenFoam Forum, instead of Running, Solving, CFD...

My question is, has anybody successfully run S2S radiation problems using the viewfactor method in parallel?

I am failing with the file "FinalAgglom" missing in the processor subdirectories, and have no idea how to decompose or distribute that.

Thanks a lot for any hint!

Found out myself - but as I have seen others asking the same: The trick is to run faceAgglomerate and viewFactorsGen also in parallel, after decomposing the case,
and with the same number of processes ...

Dear Thomas @tehache, Dear Yuri @feldy77

I have the same problem while running the chtMultiregionSimpleFoam with radiation in parallel.

after decomposing the domain with , for instance 2 cores, I launched the face faceAgglomerate and viewFactorsGen in parallel like:

mpirun -np 2 faceAgglomerate -region air -dict constant/viewFactorsDict -parallel
mpirun -np 2 viewFactorsGen -region air -parallel

but I got the following error:


Do you have any idea how to solve this problem?
The error is not clear and I can not understand where the problem is?



#0 Foam::error:: printStack(Foam:: Ostream&) at ??:?
[1] #1 Foam::IOerror::exitOrAbort(int, bool) at ??:?
[0] #1 Foam::IOerror::exitOrAbort(int, bool) at ??:?
[1] #2 Foam::radiation::solidAbsorption::solidAbsorption( Foam::dictionary const&, Foam:: polyPatch const&) at ??:?
[0] #2 Foam::radiation::solidAbsorption::solidAbsorption( Foam::dictionary const&, Foam:: polyPatch const&) at ??:?
[0] #3 Foam::radiation::wallAbsorptionEmissionModel::addd ictionaryConstructorToTable<Foam::radiation::solid Absorption>::New(Foam::dictionary const&, Foam:: polyPatch const&) at ??:?
[0] #4 Foam::radiation::wallAbsorptionEmissionModel::New( Foam::dictionary const&, Foam:: polyPatch const&) at ??:?
[0] #5 Foam::radiation:: opaqueDiffusive:: opaqueDiffusive(Foam::dictionary const&, Foam:: polyPatch const&) at ??:?
[0] #6 Foam::radiation::boundaryRadiationPropertiesPatch: :adddictionaryConstructorToTable<Foam::radiation:: opaqueDiffusive>::New(Foam::dictionary const&, Foam:: polyPatch const&) at ??:?
[0] #7 Foam::radiation::boundaryRadiationPropertiesPatch: :New(Foam::dictionary const&, Foam:: polyPatch const&) at ??:?
[0] #8 Foam::radiation::boundaryRadiationProperties::boun daryRadiationProperties(Foam::fvMesh const&) at ??:?
[0] #9 Foam::radiation::boundaryRadiationProperties const& Foam::MeshObject<Foam::fvMesh, Foam::GeometricMeshObject, Foam::radiation::boundaryRadiationProperties>::New <>(Foam::fvMesh const&) at ??:?
[0] #10 Foam::radiation::viewFactor::calculate() at ??:?
[0] #11 Foam::radiation::radiationModel::correct() at ??:?
[0] #12 ? at ??:?
[1] #13 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[1] #14 at ??:?
[0] #13 __libc_start_main? in /lib/x86_64-linux-gnu/libc.so.6
[0] #14 ? at ??:?
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
a.hajisharifi 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 while running in parallel using openmpi on local mc 6 processors suryawanshi_nitin OpenFOAM 10 February 22, 2017 21:33
Running mapFields with Parallel Source and Parallel Target RDanks OpenFOAM Pre-Processing 4 August 2, 2016 05:24
running OpenFoam in parallel vishwa OpenFOAM Running, Solving & CFD 22 August 2, 2015 08:53
Problems running in parallel - missing controlDict Argen OpenFOAM Running, Solving & CFD 4 June 7, 2012 03:50
Running in parallel crashed zhajingjing OpenFOAM 4 September 15, 2010 07:12


All times are GMT -4. The time now is 19:55.