|
[Sponsors] |
November 10, 2024, 19:25 |
Solver freezes with interpolationCellPoint
|
#1 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 281
Rep Power: 12 |
Hi foamers,
I faced an issue and just realized that some other users might have seen this weird behaviour before. I am running a lagrangian simulation with OF, and at some point that I require interpolation between cell center and particle position, my parallel run suddenly stops without any error after 4 HOURS and about 10^6 time iterations. You can find a snippet of the code below: Code:
interpolationCellPoint<scalar> voidfractionInterpolator_(voidfraction_); interpolationCellPoint<vector> UInterpolator_(U_); interpolationCellPoint<scalar> TInterpolator_(tempField_); for(int index = 0;index < particleCloud_.numberOfParticles(); ++index) { cellI = particleCloud_.cellIDs()[index][0]; if(cellI >= 0) { vector position = particleCloud_.position(index); voidfraction = voidfractionInterpolator_.interpolate(position,cellI); Ufluid = UInterpolator_.interpolate(position,cellI); Tfluid = TInterpolator_.interpolate(position,cellI); } } Code:
interpolationCellPoint<scalar> TInterpolator_(tempField_); This has been noted by some others before without any direct solution. Last edited by mostanad; November 11, 2024 at 02:02. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 06:03 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 07:58 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |