|
[Sponsors] |
[solids4Foam] elasticWallPressure no work in parallel. BC robin. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 16, 2022, 12:11 |
elasticWallPressure no work in parallel. Don't work movingWallPressure and Robin BC.
|
#1 | |
Member
Join Date: Mar 2020
Posts: 66
Rep Power: 6 |
Hi everyone,
I have a big problem. I have to do a simulation with elasticWallPressure and work the parallel, but it doesn't work in Openfoam 7. I also tried the robin3dTube tutorial and it doesn't work in parallel. Instead the boundary conditions movingWallPressure and Robin give the following error: Quote:
Thanks for your help Last edited by Neb; December 21, 2022 at 11:22. |
||
December 21, 2022, 12:14 |
|
#2 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi Neb,
Try the latest version of solids4foam from https://solids4foam.github.io. You will see that the Robin method is used in the fourth tutorial: https://solids4foam.github.io/tutorials/tutorial4.html Philip |
|
December 21, 2022, 12:34 |
|
#3 | |
Member
Join Date: Mar 2020
Posts: 66
Rep Power: 6 |
Quote:
|
||
December 22, 2022, 06:50 |
|
#4 | |
Member
Join Date: Mar 2020
Posts: 66
Rep Power: 6 |
Quote:
Hi, I tried the 3dTube tutorial but it explodes after few steps. I notice a rapid growth of the forces exchanged at the interface up to enormous values. I have used pimpleFluid with both Dirichlet-Neumann and Robin. What's up? When I tested the tutorials I found errors. I used Openfoam-9. The movingWallPressure boundary condition produces the same error of old version, which does not find the field ddt(U). Thank you Last edited by Neb; December 22, 2022 at 09:31. |
||
December 22, 2022, 10:07 |
|
#5 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi Neb,
At https://solids4foam.github.io/tutorials/tutorial4.html you will see that the Robin condition is only currently compatible with foam-extend-4.1 (as it requires changes to the pimpleFluid solver). Currently, the Robin conditions do not work with OpenFOAM-9 and OpenFOAM-v2012. I have just created an issue at https://github.com/solids4foam/solids4foam/issues/26 so this does not get forgotten. The change should not be too difficult to make, but pimpleFluid/pimpleFoam looks a bit different between the different versions. |
|
December 22, 2022, 11:42 |
|
#6 | |
Member
Join Date: Mar 2020
Posts: 66
Rep Power: 6 |
Quote:
|
||
December 22, 2022, 11:50 |
|
#7 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
foam-extend-4.1 (or foam-extend-5.0) does not seem to have a codeFixedValue or similar, although it does have codedFunctionObject.
I see the following options:
|
|
January 10, 2023, 07:29 |
|
#8 | |
Member
Join Date: Mar 2020
Posts: 66
Rep Power: 6 |
Quote:
Update: I fixed other errors and I have only one left on the cumulativeContErr_(0) function. But I realized that this error also appears in the original version of solids4Foam. I attach the log file log.Allwmake_solids4foam.txt. Last edited by Neb; January 12, 2023 at 12:24. |
||
January 31, 2023, 05:35 |
|
#9 | |
Member
Join Date: Mar 2020
Posts: 66
Rep Power: 6 |
Quote:
I'm trying my simulation on foam-extend. It gives me this error: Selecting physicsModel fluidSolidInterface Selecting fluidSolidInterface fixedRelaxation Selecting fluidModel pimpleFluid Selecting dynamicFvMesh dynamicMotionSolverFvMesh Selecting motion solver: velocityLaplacian Selecting motion diffusion: quadratic Selecting motion diffusion: inverseDistance Reading g from constant directory Selecting incompressible transport model Newtonian Selecting turbulence model type RASModel Selecting RAS turbulence model LaunderSharmaKE PIMPLE: Operating solver in PISO mode Selecting solidModel linearGeometry Selecting dynamicFvMesh staticFvMesh --> FOAM FATAL IO ERROR: unexpected class name faceCompactList expected faceList while reading object faces file: /mnt/c/Sim/constant/solid/polyMesh/faces at line 15. From function regIOobject::readStream(const word&) in file db/regIOobject/regIOobjectRead.C at line 136. FOAM exiting The model is produced with ANSA v 21. With openFoam 7, 9 there are no problems with this model. Thank you Last edited by Neb; January 31, 2023 at 10:24. |
||
February 14, 2023, 06:04 |
|
#10 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Does this mesh work with other solves in foam-extend? For example, does it work if you use laplacianFoam?
|
|
February 14, 2023, 06:10 |
|
#11 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi Neb,
Can you please post the top 20-30 lines of the solid/polyMesh/faces file? Philip |
|
June 3, 2023, 20:51 |
|
#12 |
New Member
Join Date: Jan 2018
Posts: 19
Rep Power: 8 |
Hi, many thanks for your contribution!
I tried to run the microBeamInCrossFlow tutorial case in parallel. This case works well in serial, however, we are faced with following problems while in parallel running: Interpolating point values using AMI [1] [9] [1] [9] [1] [9] --> FOAM FATAL ERROR: --> FOAM FATAL ERROR: (openfoam-(openfoam-20122012)) [1] [9] bad size -1241566988bad size -990378326 [1] [9] [1] From Foam::List<T>::List(Foam::label) [with T = Foam::Vector<double>; Foam::label = int][9] From Foam::List<T>::List(Foam::label) [with T = Foam::Vector<double>; Foam::label = int][1] in file [9] /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/MPI/gcc9/openmpi4/openfoam/v2012/OpenFOAM-v2012/src/OpenFOAM/lnInclude/List.C at line in file 100/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/MPI/gcc9/openmpi4/openfoam/v2012/OpenFOAM-v2012/src/OpenFOAM/lnInclude/List.C. at line [1] 100. FOAM parallel run aborting I noticed some others are also being faced with the same issues. Do you have any suggestions on this? Best, Zhi |
|
June 3, 2023, 20:52 |
|
#13 |
New Member
Join Date: Jan 2018
Posts: 19
Rep Power: 8 |
Hi, many thanks for your contribution!
I tried to run the microBeamInCrossFlow tutorial case in parallel. This case works well in serial, however, we are faced with following problems while in parallel running: Interpolating point values using AMI [1] [9] [1] [9] [1] [9] --> FOAM FATAL ERROR: --> FOAM FATAL ERROR: (openfoam-(openfoam-20122012)) [1] [9] bad size -1241566988bad size -990378326 [1] [9] [1] From Foam::List<T>::List(Foam::label) [with T = Foam::Vector<double>; Foam::label = int][9] From Foam::List<T>::List(Foam::label) [with T = Foam::Vector<double>; Foam::label = int][1] in file [9] /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/MPI/gcc9/openmpi4/openfoam/v2012/OpenFOAM-v2012/src/OpenFOAM/lnInclude/List.C at line in file 100/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/MPI/gcc9/openmpi4/openfoam/v2012/OpenFOAM-v2012/src/OpenFOAM/lnInclude/List.C. at line [1] 100. FOAM parallel run aborting I noticed some others are also being faced with the same issues. Do you have any suggestions on this? Best, Zhi |
|
June 6, 2023, 09:49 |
|
#14 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Quote:
Separately, you may like to check if the other tutorials work in parallel for you. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Make my solver to work in parallel | gionni | OpenFOAM Programming & Development | 1 | August 14, 2021 16:14 |
myBC does not work in parallel | uosilos | OpenFOAM Running, Solving & CFD | 0 | July 20, 2021 12:21 |
chtMultiRegionSimpleFoam: crash on parallel run | student666 | OpenFOAM Running, Solving & CFD | 3 | April 20, 2017 12:05 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |
Cases with small length scale work fine on a single processor but fail in parallel | adona058 | OpenFOAM Bugs | 5 | April 17, 2009 05:41 |