Jump to content

CopyDataDOP


Annon

Recommended Posts

Anyone used the copyDataDop?

As a simple test I'm trying to add 5 scalar fields, then do stuff to them (say copy density into them and multiply by $CY). But can't seem to get the flow right.

The aim is to add to my go-to solver setup so I can add as many velocity update inputs (or collision/sources etc) as I want based on the number of copies I do.

In the attached example, the gasMatchField will update field_0 but non of the others (I'm presuming because the expression is always returning zero)..

Any help is much appreciated.

Christian

copyData_example.hip

Link to comment
Share on other sites

I thought my problem might be about "sharingData".

It seems that I can now get the matchField working but then when I copy density into each field and multiply by $CY I don't get the density changing when I look at the I/O.

No-one seems to know anything about it, so I'll just have to swivel until Jeff & Co turn up to show me how dumb I've been.

Here's the updated scene with me trying to mult density per copy.

C

copyData_example.hip

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...