CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   FSI - dynamic Meshing (http://www.cfd-online.com/Forums/openfoam-solving/96094-fsi-dynamic-meshing.html)

dskoutel January 12, 2012 06:37

FSI - dynamic Meshing
 
Hello everyone

I want to share a problem i m facing with openFoam dynamic
meshing while trying to perform FSI simulations.

I m importing new boundary conditions- displacements/velocities from an external FEM solver and put them to the appropriate pointDisplacement/pointMotionU file, depending on the solver i choose. Curiously after the mesh.update() is executed i get a mesh that does not quite follow the new boundary conditions...(?)

I tried with simpler deformations and it turns out that it would only work whenever the boundary condition at the specific moving patch is uniform.

Did anybody have such a problem before or has any advice for me?

lakeat January 12, 2012 10:11

What did you mean by saying "uniform"?

dskoutel January 12, 2012 10:50

by uniform i mean sth like:

solidBody
{
type fixedValue;
value uniform (0.1 0.1 0);
}

Problem starts when the boundary condition in non uniform so instead i input a list of vectors.

lakeat January 12, 2012 10:54

Hmm.., why did you use fixedValue patch, and not using the sixDoF... patch?

dskoutel January 12, 2012 11:02

sixDoFRigidBodyDisplacement is not availiable in version 2.0 i think. I used fixedValue following the icoFsiFoam way.

lakeat January 12, 2012 11:10

You mean,

OpenFOAM-2.x/src/postProcessing/functionObjects/forces/pointPatchFields/derived

???

dskoutel January 12, 2012 11:22

no i mean

--> FOAM FATAL IO ERROR:
Unknown patchField type sixDoFRigidBodyDisplacement for patch type patch

Valid patchField types are :
24
(
angularOscillatingDisplacement
angularOscillatingVelocity
calculated
cyclic
cyclicSlip
empty
fixedNormalSlip
fixedValue
mixed
nonuniformTransformCyclic
oscillatingDisplacement
oscillatingVelocity
processor
processorCyclic
slip
surfaceDisplacement
surfaceSlipDisplacement
symmetryPlane
timeVaryingUniformFixedValue
uniformFixedValue
value
waveDisplacement
wedge
zeroGradient
)

lakeat January 12, 2012 11:23

But surely you can load the .so file to add the new patches.

dskoutel January 12, 2012 12:03

hmm ok loaded genericPatchFields library but i get some runtime errors...guess i need to check some stuff first. do u have any fsi solver in mind that actually uses this 6dof patch? i only saw it on pimpleDyMfoam but it doesnt seem to help much...

thanks for your help !

lakeat January 13, 2012 14:06

pimpleDyMFoam can do the job. And sicDoF b.c patch is in another .so library, load the correct one.


All times are GMT -4. The time now is 01:21.