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/)
-   -   Moving mesh part 2 (https://www.cfd-online.com/Forums/openfoam-solving/58346-moving-mesh-part-2-a.html)

kev4573 March 28, 2008 11:57

Just to close the issue I brou
 
Just to close the issue I brought up a few posts ago - turns out I made a mistake somewhere along the way and I have it working now in parallel. I simply went back through the process of grid generation, case setup, etc and got it to work.

docci October 8, 2008 09:53

dear all, i am a new user o
 
dear all,

i am a new user of OF-1.5 and have a problem with moveMesh; i tried to move two points of a cuboid along the edges such that the cuboid becomes a wedge. actually it is a small moving patch not only two points.
unfortunately the site/patch of the cuboit which inclines doesn´t stay planar.(patch type slip)
i tried many different options of the moveMesh untility and always the inclining patch deforms... anyone an idea?

peter73 November 1, 2008 10:43

I am currently use OpenFOAM1.5
 
I am currently use OpenFOAM1.5 and try to simulate an oscillating airfoil. My first step is to simulate a square moving with constant velocity [1 1 0].

I made some changes based on the example from the tutorial. However, I can only specify the x-velocity in the pointMotionUx and cellMotionUx.

I try to change the class from pointScalarField to pointVectorField, but the code does not recognize the definition.

The questions are:

1: How should a velocity [1 1 0] be specified?
2: what are the functions of pointMotionUx and cellMotionUx.

Thanks.

Peter

louisgag November 12, 2008 16:03

Hi Peter, 1. change dynamic
 
Hi Peter,

1. change dynamicMeshDict definition to "solver velocityLaplacian;" and rename *MotionUx to *MotionU changing their content to vectors

2. fixedValue, timeVaryingFixedValue, slip, symmetry, (I have not yet been able to get oscillatingFixedValue to work with OF 1.5)

have a good afternoon,

-Louis

peter73 November 12, 2008 16:26

Thanks, Louis. I am able to
 
Thanks, Louis.

I am able to run the fixedValue. Just like you, the oscillatingFixedValue does not work with OF1.5. From a post under other thread it seems that bc work with OF1.4-dev. The warning message indicates that it is not implemented in OF1.5.

With OF1.4, the file is located in
src/OpenFOAM/fields/pointPatchFields/derived

now it is at
src/finiteVolume/fields/fvPatchFields/derived/

Humm... ???

Peter

louisgag November 12, 2008 16:55

Hi again Peter, I suppose y
 
Hi again Peter,

I suppose you could always define the almost exact same condition as oscillatinFixedValue using a timeVaryingFixedValue condition (especially if you are working with a constant timestep) by using a home-made piece of code to generate the "*.dat" file that defines the mesh motion.

-Louis

peter73 November 12, 2008 17:26

Louis, Thanks again. It w
 
Louis,

Thanks again. It works. I also find this link discussing the unsteady bc. http://albertopassalacqua.com/?p=69#comment-209

Still do not understand why the oscillatingFixedValue does not work. It is under the same directory.

Peter

rubenparedes February 25, 2010 16:11

Hi there,

I am new to OpenFOAM and I am trying to simulate an oscillating cylinder. Only in the case that someone is looking for another option to simulate oscillating motion. I specified my moving BC as oscillatingVelocity type in the pointMotionU file.

Ruben

lakeat December 3, 2010 17:13

Hi,

It seems to be a bug, during RBF interpolating, the LUdecompose met a singular matrix.
The RBF works good for serial, but the parallel run fails. Could anyone helps me on this?

Later I found in file "RBFMotionSolver.C", line
Code:

    Info << "Total points on moving boundaries: " << nMarkedPoints << endl;
Code:

    Info << "Total points on static boundaries: " << nMarkedPoints << endl;
Code:

    Info << "Number of internal points: " << nMarkedPoints << endl;
It seem it just outputs one processor's number, could it be possible to output the whole information?

And how to do LUdecompose on the whole mesh points, not just one processor?


Thanks,

Daniele111 December 14, 2010 06:20

hi
Can (and How) I use update.mesh to modify a patch of a mesh? I have a rectangular box, and I would update bottom with a new shape, Can I do to solve this problem?

Thanks


All times are GMT -4. The time now is 19:39.