Jump to content

gasmatchfield destroys existing field data?


JoshJ

Recommended Posts

Hi,

I'm trying to make a custom rest field setup in dops and having trouble understanding gasmatchfield. After initializing a rest field, using gasmatchfield destroys the existing data.

What I would like to have happen is for the rest field to be resized and resampled to match the velocity field's bounds and location, and for the original rest data to be preserved and advected.

Please see the attached file, and bypass the red gasmatchfield node.

simple_advect_rest.hipnc

Link to comment
Share on other sites

gasMatchField is going to create or overwrite a field based on another field.

What you want to do is create a new field called "rest_resize", bare in mind this is going to create an empty field the same size/res as whatever reference you use.

So the next thing is to use gas calculate and copy "rest" into "rest_resize".

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...