Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Form assembly or Form union
Posted 29 apr 2016, 18:34 GMT-4 Fluid & Heat, Structural Mechanics Version 5.0 8 Replies
Please login with a confirmed email address before reporting spam
I encountered a problem when I models fluid flow through conduit surrounded by solids at two sides. The models involves laminar flow module and structure module. According to the description of reference manual, When the contact features are included in structure mechanics, the "form assembly" in geometry is recommended. So I choose the "form assembly" box. However, when I imposed no-slip BC at the interface between solid and liquid domains, and run it, the error occurs.
Undefined variable.
- Variable: comp1.spf.U
- Geometry: geom1
- Domain: 2
Form the attached image, we can see that domain 2 is solid zone, no fluid, whereas the error didn't detect fluid velocity in the soild zone. It seems weird. I try many times to resolve it but failed.
So I am wondering whether the "form assembly" in my model is the criminal. But considering the contact feature in my model (circled region in red line), I am not sure for it.
Does anyone give me some hints or suggestion on that? I will appreciate your assistance.
Attachments:
Please login with a confirmed email address before reporting spam
Read carefully the doc about Union and Assembly (it has nothing to do with CAD assembly) Union means that all common geometric surfaces between two geometric volumes become two Domains with each their overlapping surface. But there is no FEM link between these surfaces, hence no "(force, fluid heat ... Flux" passing through these boundaries. For that you must define the pair and set manually all the flux corresponding to your physics.
In contrary in Union mode, the two volumes and their respective surfaces are transformed into 2 domains and ONE common boundary (except if you chooses remove internal boundaries, then you become 1 Domain and NO common boundary at all). In this case COMSOL assumes continuity of "flux" over this common boundary (if it exist)
In contact problems, if the surfaces in contact do not touch at geometry definition, either Union or Assembly works. If you have a contact and common boundary, then you need to ensure that this boundary is de-doubled and allow the "contact surface physics to apply to each boundary in contact.
A third case arrives if you models the fluid between the contacts, then you must ensure (if the contact are NOT closed at solver start) that the mesh of fluid remains over the contact boundary, else you make a topology change during the contact and the solver will crash. You can use the "contact offset" to perform this, and keep an artificial 1-2 um thick fluid layer, but you should not consider the fluid flow as realistic in this layer. Still the solver will complain if the layer mesh "inverts" mesh elements that turn inside out.
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thanks for your prompt reply. After carefully check my model, I think my model applies to the case that it has a contact pair between two solid domains and two common boundaries between each solid domain and the only liquid domain. In this case, the contact pair and common boundary co-exist concurrently. So It make me confused about the setting for "Union" or "Assembly".
I intended to set the continuity state (extensive quantities and their gradients, i.e. heat flux, heat, etc) across the common boundaries between solid domain and the only liquid domain. For the contact pair, I hope to get compression and friction or slip in next step. In this sense, the setting of this case is complicated. By the way, my consideration is based on this support description: www.comsol.com/support/knowledgebase/1216/
The whole .mph file is attached below. It's set up in 5.0 version. I hope to get your specialized idea for this model.
Thanks very much.
Attachments:
Please login with a confirmed email address before reporting spam
First of all you have a complex 3 physics case with many couplings, then you two half sphere that touches each other at a point, for a 3D physics with *contact*, you have set-up a system defined with a singularity at the contact point.
To get this model running I suspect that you are still missing the ALE part (a forth physics) to handle the coupling between the deformed solid structural geometry and the fluid domain.
So for me you should definitively start "simple". Try first only the solid + contact, then the conjugated heat flow with solid, and fluid, but without contact, and finally the full system. There are so many setting to tweak to get these two cases running alone, that combining everything at once is a very serious challenge.
Even for the mesh, you have no boundary mesh for the fluid part, essential for flowing fluid, and even more important for HT + fluid interactions. Such a model was simply not possible to do a few years ago, at least not for a single person on a single program and PC, so today it's possible but the amount of physics tweaking and expressions to verify are and remain large.
But by studying physics interaction two by two, structural+ contact, structural + fluid, fluid& solid + HT, I'm sure you will get the required settings, and this would then allow you to assemble a full model. And it would be much clearer and simpler to identify the weak spots to be improved. With too many physics you have to many hares to follow at the same time ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thanks for your suggestion. In reality I started the one physics model (structure, temperature, fluid, contact pair) several months ago. I followed the philosophy to construct from simple to complicated. After that, the two-physics models was also modeled and extended to the three-physics model without contact pairs. All of these are successful. But the current model is when I add the contact pair, everything changed. The error always occurs. For me, the contact pairs is tricky and criminal.
For the setting of "Uniform" or "Assembly", do you have some idea to my specific model?
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
my advice is to split it up first, then combine, and for your contact either start with an open contact and a "small gap" or have a true interaction so the contact surface is a "surface" and not a degenerated point or line contact. Furthermore, read carefully the doc, for contacts and the source destination mesh density etc, including for the fluidics about boundary mesh etc ...
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thanks a lot. I am trying to do that.
Please login with a confirmed email address before reporting spam
As a main step of the aforementioned intention, the three physics coupling is modeled (without contact pair). In this model, the study step 1 is HT + Fluid coupling. It works well alone. Then I activate the solid mechanics and FSI under Multiphysics button. the error always occurred. List below,
Failed to find a solution for the initial parameter.
The relative error (22) is greater than the relative tolerance.
Returned solution is not converged.
I searched the similar problem in this forum and those solution didn't work. By the way, If I disable the heat transfer in solid physics, and just consider FSI, It worked. but the three-physics coupling didn't work.
The file is attached below. I hope to get your response.
Attachments:
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
Suggested Content
- KNOWLEDGE BASE Error: Internal Error in Geometry Decomposition
- FORUM Form unions in different components
- BLOG How to Automatically Remove Small Details in Your Model Geometry
- FORUM Equation based setup of incompressible Navier stokes equations coefficient form PDE
- KNOWLEDGE BASE The Usage of Form Union and Form Assembly