CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   overPimple falling sphere (https://www.cfd-online.com/Forums/openfoam-solving/240470-overpimple-falling-sphere.html)

acalado January 7, 2022 05:05

overPimple falling sphere
 
1 Attachment(s)
Hey guys, I am trying to simulate a falling sphere in a water tank using overset grids (overPimpleDyMFoam).

I am able to create the overset mesh and then merge it with the background (looks OK in ParaFOAM) but I noticed 2 strange issues:

1) When merging, if I create the dummy oversetPatch in the background mesh (to force overset to be the first patch in the boundary file as recommended), it does not merge with the oversetPatch created in the first mesh, and rather creates a new patch... Not sure why this happens

2) when trying to run it states there is an issue with boundary condition files (e.g. p) where the overset type patch is expecting some value (although I have ran cases in the past and from tutorials these should just be set as type overset with nothing else).

I must be making some stupid mistake... thanks in advance for your help!

hbulus January 11, 2022 03:40

Q1- When you are adding dummy overset patch with the same name as in floating body, be sure that in background/constant/polyMesh/boundary;
oversetPatch
{
type overset;
inGroups 1(overset);
nFaces 0;
startFace write the startFace of next patch
}
Q2 - You should state a value as warned, be sure about in p file;
oversetPatch
{
type overset;
value $internalField
}

acalado January 11, 2022 03:48

thanks for the reply! I noticed after running ./Allrun.pre that in the boundary file there is an empty overset patch group and the duplicate one... But if I ./Allclean how can I force this to happen in the boundary file if it is not there? I have done similar approaches using the same names when merging meshes and just having the dummy patch seems to work well. Not sure why it doesn't work for this case..

mAlletto January 11, 2022 10:44

Is this tutorial useful for you https://wiki.openfoam.com/Settling_S...ichael_Alletto

acalado January 11, 2022 11:56

Thanks! Indeed the case seems quite similar. I will have a look :)


All times are GMT -4. The time now is 13:27.