[Nek5000-users] Define objects in prenek

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Mar 11 03:54:31 CST 2010


Fred,

If your tensor-product-based channel mesh has grid lines that
coincide with the outer layer of your spherical mesh, then it
is very easy.

Start prenek with a mesh called channel (say), then,

IMPORT MESH

import your sphere mesh and answer "y" (yes) to the question
about whether you wish to displace elements in the existing
mesh.

What this does is to delete any element that is inside the
bounding box that contains all elements from the imported
spherical mesh.

Note that this assumes that at least the last layer of your
spherical mesh is a cartesian face.

Have you ever used the text-based version of prenek? (I think
it gets compiled automatically when prex is compiled, and is
called pretex.)

I can set up a couple of scripts as examples and will do so
in a few hours ---

Paul


On Thu, 11 Mar 2010, nek5000-users at lists.mcs.anl.gov wrote:

> Hello,
>
> I have a question to "prenek". I'm trying to define a grid of a rigid sphere 
> in a channel (similar to the configuration in the paper of Zeng, Balachandar, 
> Fischer (2005) "Wall-induced forces on a rigid sphere at finite 
> Reynoldsnumber"). To my knowledge I have to generate the sphere grid with 
> CURVE SIDES > SPHERICAL MESH ("sphere.rea") and then the channel grid 
> ("channel.rea"). Finally I have to insert the sphere grid as an object into 
> the channel grid. But I don't know how to do this.
>
> Hope you can help me. Thanks a lot.
>
> Best regards,
> Fred
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>



More information about the Nek5000-users mailing list