CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Moving mesh: how to fix a zone? (https://www.cfd-online.com/Forums/openfoam/103007-moving-mesh-how-fix-zone.html)

samiam1000 June 8, 2012 07:03

Moving mesh: how to fix a zone?
 
Dear All,

I have a problem with a moving mesh. I have 2 cellZones and I would like to fix one of them.
What I wanna do is to make only one zone move. Is it possible?

Thanks a lot,

Samuele

Ivho June 12, 2012 07:46

I'm not sure, but my first hunch says that it should be possible to define the grid diffusivity to be much larger in the region you'd like to remain stationary than in the moving zone. That way, the deformation in the ''stationary'' zone will be negligable at least..

samiam1000 June 12, 2012 07:55

Thanks Ivar,

any idea about how to do that?

Thanks,

Samuele

Ivho June 12, 2012 08:09

I do know of a few cumbersome methods, but as for an efficient one, I'm afraid I have to disappoint you. Might be that it's possible, but unfortunately, I'm not an expert..

A few options that I know of are:

- inverseVolume grid diffusivity -> this is not really what you want, since it requires a high cell density in the stationary region, which is probably not of significant importance.

- a specified list of grid diffusivity values (for each mesh point)

- Define all grid lines in the stationary region as patches with uniform value (0 0 0) boundary condition for motionU (EDIT: this is for the 1.6-extend version interTrackFoam solver. I read in other posts that you use OF 2.1. The dictionaries might differ, but the general idea stays the same)

Perhaps these give a hint to determining a better method, but it might depend on the case you're trying to solve.


All times are GMT -4. The time now is 06:40.