SimScale CAE Forum

Multiphase: waves in a chanel

I´m trying to simulate waves in a channel. I created a volume representing uniform initial level adding a triangle of water in an extreme. When time begin to run triangle will fall down making the initial perturbation and the wave. Next message was emerged: “A setup with 2 regions is being used in a single-region analysis type. Please make sure that all regions except for one have an Advanced Concept assigned to them.”
Please your help with that. Could be I assigned a imported .STL with the described shape and assigned it to subdomains1 volume or other .STL representig the channel.
Many thanks in advance.

Hi @Rsotomayor ,

Could you please post the project link (URL) of your workbench, so we can have a look?

Thanks!

https://www.simscale.com/workbench/?pid=4524569548181555007&mi=spec%3A9dd147f2-fcaa-45f2-817c-166f685a1a26%2Cservice%3ASIMULATION%2Cstrategy%3A2&ps=analysis%2Fmaterials%2Ffluids%2F0
Thanks
Ricardo Sotomayor

Thanks!

I see that you are trying to use the water .stl file to initialize the water domain. On the other hand, this causes the simulation to fail, since a single volume should be used for multiphase simulations.

Would it be possible to use a parallelepiped instead of the triangle for the wave generation? Then you would be able to use geometry primitives (like discussed in this article) to initialize the domain.

Just as an example, here is a wave project that I posted on forums some time ago using geometry primitives.

Cheers

Hi Ricardo, I received your advice and I corrected the simulation. I noticed that he had incorrectly initialized the flow region and other things. But still the simulation could not run properly and the following message appeared “The phase fraction of your multiphase simulation went out of bounds. This may happen due to multiple reasons, mainly a too large time step, poor mesh quality or high-order numerical schemes. Please review your simulation set up and consider a smaller or adjustable time step, ensuring that the Courant number (CFL) does not exceed 1”.
Can you help me with this? URL is https://www.simscale.com/workbench/?pid=3711040128367080144&mi=run%3A10%2Csimulation%3A7&mt=SIMULATION_RUN.
Regards

Hi,

As far as I can see, I believe you were able to make some changes in the setup, preventing the simulation to fail with the error above?

On a side note, there’s quite a few mesh-related changes that you can perform, to allow the simulation to run more effectively. This page should give you more details.

Cheers

Thank you Ricardo. Your advices and links allowed me run the simulation. Regards

1 Like

Ricardo, I´ve seen Filter dialog for Solution Fields does not have option for particle traces. I suppose this is not possible in transient, isn’t it? Thanks

I can create traces just fine for my multiphase projects - is the button not available in your project?

Cheers

Of course, excuse me. Tutorial show a posibble old aspect. I’ll investigate That. Thanks

Hi Ricardo, how can i see only water phraction? Thanks

Hi, I can’t tell for sure what you are looking for just from the description.

Is it something similar to this?

image

If so, you should try out iso surfaces and iso volumes, using “phase fraction” as iso scalar. For coloring, a solid color (blue) or phase fraction/velocity are usually nice-looking.

Cheers

I´m trying to see the internal movements of water particles and their velocity vectors. I have applied filters to clean vectors I don´t want see like air ones but I want to know if I can avoid air part completely.

What about iso volumes, or iso surfaces, tracking a “phase fraction” range that represents water, and plotting vectors?

Something like this: