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/)
-   -   Problem with DynamicMesh: nozzle moving along wall (https://www.cfd-online.com/Forums/openfoam-solving/186395-problem-dynamicmesh-nozzle-moving-along-wall.html)

ashama April 18, 2017 05:29

Problem with DynamicMesh: nozzle moving along wall
 
4 Attachment(s)
Good morning everyone

I have a problem with dynamic mesh I hope some one can help me figure it out

I created a geometry of a nozzle filling water into some rectangular space using SALOME, two volumes (nozzle, box) > Partition > create groups > Meshing > create group on geometry, and they are connected with a surface called (internalFace)

I run the case in interFoam and it is OK

I try to make the nozzle move in the Y direction while dumping the water in the volume and the code crashes at specific time. What happen is that the cells in both volumes stay connected while the nozzle is moving, so they get to a very high aspect ratio and Co number jumps very high.

I think I miss one more file other than the dynamicMeshDict - this is the only file I used to move the nozzle and using interDyMFoam.

Attachment 55410

Attachment 55411

Attachment 55412

Attachment 55413

This is the main folder of my simulation and also a screen shot of the mesh at a slice showing the nozzle (Top) and the space (bottom)

Can someone please figure out what I am missing?

Do I miss a file called pointMotionU?

Code:

{
    version    2.0;
    format      ascii;
    class      pointScalarField;
    object      pointMotionU;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField  uniform 0;

boundaryField

{

    Inlet
    {
        type            uniformFixedValue;
        uniformValue    constant 5;
    }

    Shell
    {
        type            uniformFixedValue;
        uniformValue    constant 0;
    }

    Nozzle-Shell
    {
        type            uniformFixedValue;
        uniformValue    constant 5;
    }

    Top
    {
        type            uniformFixedValue;
        uniformValue    constant 0;
    }

    Bottom
    {
        type            uniformFixedValue;
        uniformValue    constant 0;
    }

    InternalFace
    {
        type            uniformFixedValue;
        uniformValue    constant 5;
    }

}


ashama April 23, 2017 18:09

Looking for a tutorial on Inkjet printing
 
2 Attachment(s)
Hi everyone

Can someone please give me a tutorial on Inkjet printing? If not available, can I get a help in this problem?

I am modeling the geometry in the pictures. Simply, and inlet nozzle into some domain, fixed inlet flow rate and the nozzle has a linear motion during the simulation. I am using interDyMFoam, dynamic mesh. Now, I created the geometry in salome, made a COMPOUND of the cylinder and the box. There is an interface inbetween, called InternalFace. I try to create a baffle for this interface, AIM, and use the dynamicMeshDict to move the nozzle zone. simulation always crash and I cannt figure out the mistake.

I attached the relevant files, 0/U o/alpha.water dynamicMeshDict system-folder

Regards


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