Welcome, Guest
Username: Password: Remember me

TOPIC: map previous computed velocities to a finer mesh

map previous computed velocities to a finer mesh 10 years 11 months ago #9214

  • christianfrias
  • christianfrias's Avatar
HI,

Does anyone know if is possible to map a previous computed velocity field, that was calculated for a coarse mesh, into a finer mesh?

I have the velocities from a selafin result file of a coarse mesh case. Now I want to use it as an initial condition for the finer mesh case with the same boundary conditions. Since the mesh are different I was thinking that maybe if I map them somehow in the finer mesh I will avoid running it from scratch.

Thank you
The administrator has disabled public write access.

map previous computed velocities to a finer mesh 10 years 11 months ago #9220

  • jmhervouet
  • jmhervouet's Avatar
Hello,

This is perhaps in Blue Kenue or Fudaa. It can also be programmed with the subroutine fasp.f in bief library (considering the coarser mesh as a set of points), but it has never been formalised as an official function for projecting one mesh onto another, though it would be very useful. It is not fully trivial if the meshes do not coincide exactly, as it may involve extrapolations.

Regards,

JMH
The administrator has disabled public write access.

map previous computed velocities to a finer mesh 10 years 11 months ago #9227

  • Serrer
  • Serrer's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 702
  • Thank you received: 296
Hi Christian,

You can map a vector field to another mesh or to a regular grid.
Use "Tools->Map Object"
If the source data is time varying you can choose to map only the current frame or all frames.

Martin
The administrator has disabled public write access.

map previous computed velocities to a finer mesh 10 years 11 months ago #9231

  • christianfrias
  • christianfrias's Avatar
Thank you for the responses. I mapped the velocity in BlueKenue as you suggested. What I noticed is that the new vector field appears as a sub mesh in the selafin tree that BlueKenue shows. If I run a simulation using this res file as an initial condition file TELEMAC2D does not recognize it and starts the simulation with zero velocities. Should I do this in a different way?

Thanks,

Christian
BKTree.jpg
The administrator has disabled public write access.

map previous computed velocities to a finer mesh 10 years 10 months ago #9280

  • Serrer
  • Serrer's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 702
  • Thank you received: 296
You have to separate the Velocity UV object into its scalar components, VELOCITY U and VELOCITY V (using the calculator) and create a new selafin file from these components.

Blue Kenue combines vector components when it loads a selafin file but doesn't automatically separate them when it writes.

Martin
The administrator has disabled public write access.
Moderators: Serrer, a.barton

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.