Jump to content

How to alter fields temporarily when using in microsolvers?


magneto

Recommended Posts

Hi,

I have a simple advection that looks like this:

ff9BR4c.png

I am using vel, but is there a way I can manipulate it before using it in Gas Advect DOP? I tried Gas Linear Combination DOP but it didn't seem to do anything when I multiplied it with 0.1.

Also is there a way to make the modification temporary? Do I have to create a new field for this on the left side or would micro solvers like Gas Linear Combination DOP take care of that if the field doesn't exist?

I want to do something like this on the right side:


tempvel = vel * 0.1
gas advect tempvel
do something else with vel (original vel, not tempvel)
[/CODE]

Am I thinking wrong about this?

Thanks :)

Link to comment
Share on other sites

Thanks Skybar, it worked :)

Just one small question: When I did that and used Timestep, the value got very small. I saw in a video tutorial recommending to use it all the time. So when I set it to None which is default, it works. I just thought I had to set it to Timestep so the simulation stays consistent if the Timestep value changes somehow.

Link to comment
Share on other sites

You mean as a Coefficient on the Gas Linear Combination? I'm not entirely sure how that works, but I guess it gets multiplied with the timestep or something, so you don't want to use that if you just want to copy the values. Not to be confused by the "Use Timestep" checkbox though, that you probably want to have checked.

  • Like 1
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...