[Nek5000-users] set obj for internal fluid surface

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Mon Sep 12 16:23:14 CDT 2011


Paul,

I plan to have the mesh have an easily findable surface.   Is there any example code in the distribution for setting objects based on geometry plus normals?

Thanks,
--Mike

On Sep 12, 2011, at 3:21 PM, <nek5000-users at lists.mcs.anl.gov> wrote:

> 
> Hi Mike,
> 
> I normally would do this by some geometric marker, coupled
> with the direction of the outward facing normal.
> 
> Presumably you have some idea of what fluid surface
> you have in mind (and hopefully it coincides with a 
> mesh surface).  With this information you should be
> able to pick off the faces of interest and identify
> them as belonging to an object?
> 
> Let me know if this helps or if I can clarify further.
> 
> Best,
> 
> Paul
> 
> 
> On Mon, 12 Sep 2011, nek5000-users at lists.mcs.anl.gov wrote:
> 
>> All,
>> 
>> I'm working with the calc_torque routine, and I want to calculate the
>> torque/drag along a surface within the fluid domain (not on the boundary).
>> Is there a straight-forward way to "set_obj" for such a surface?  It's
>> straightforward for external fluid boundaries, as you can just search on
>> certain boundary conditions and grab those element faces.  It's not so clear
>> for me how to do the same for some internal surface.
>> 
>> Thanks.
>> --Mike
>> 
>> _______________________________________________
>> Nek5000-users mailing list
>> Nek5000-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>> 
> _______________________________________________
> 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