Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
finding a specified flow rate in a '3D cut plane'
Posted 15 mai 2012, 18:08 UTC−4 Fluid & Heat, Microfluidics, Results & Visualization Version 4.2a 8 Replies
Please login with a confirmed email address before reporting spam
I'm trying to do some postprocessing in a 3D fluid channel flow over a fractured hole.
The channel is filled with water and is laminar.
Here's what I'm trying to do:
1. cut the surface at an arbitrary channel location (i used the 'cut plane')
2. within that surface, I would like to start from one edge and integrate the velocity profile in a prescribed area.
eg) if the surface slice is a 2mmx2mm rectangle, i want to make another rectangle that is 1mmx1mm within that original 'cut plane' and measure the surface integrated velocity value (flow rate).
I was able to cut the surface where I wanted it, but I cannot find a way to resolve what I said in 2.
Any ideas?
Thanks!
TJ
Please login with a confirmed email address before reporting spam
I should give you the integrated velocity value, also based on what i get from your post, only 2nd cut plane should suffice. You may not need to create the first cut plane if you want to integrate over the 2nd cut plane surface.
Good luck.
Please login with a confirmed email address before reporting spam
Thank you for the tip.
I do know the integral function, but I could not separately cut out the 2nd slice.
Even when I performed the 3-points 'cut plane', the slice seemed to cut through the entire geometry passing those three points.
Is there a way to directly specify a small patch with an arbitrary surface area anywhere within the domain?
As you said, I could then just find the flow rate using the integral function in that surface.
Best,
Tae Jin Kim
Please login with a confirmed email address before reporting spam
the cut plane cuts out the full model, if you want to limit the area, you need to multiply your integrand by two bolean operations such as (1<x)*(-1<y)*integrand*(x<2)*(y<3)
but be careful with the average() operator as it considers the full area and not the limited one
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Other option is using parametric surfaces; for instance if you want to cut a circular planar surface; we can use the following:
data sets >> parameterized surface>> s1 varying 0-2*pi>>s2 varying 0-R
expression x = x1 or any value where yz circular plane is located
y = s2*cos(s1)
z = s2*sin(s1)
that should give you a circular surface (of radius R in yz plane at x = x1) in your geometry which you could use for integration or any other operation. But we need to parameterized the surface which would be difficult for irregular shaped surfaces.
Good luck.
Please login with a confirmed email address before reporting spam
expressions > x = x1; y = s1; z = s2 ... that you give you a small rectangular cut plane.
Good luck.
Please login with a confirmed email address before reporting spam
I was curious what the parameterized surface stood for but now I know; it's exactly what I needed.
Thank you so much for the help!
Best,
TJ
Please login with a confirmed email address before reporting spam
i have a similar problem.
i want to find the average velocity(or flow rate) in a section in the middle of my 3D channel but i do not know how!!! i tried to find the velocity using cut plane, cut line 3D and so on, but non of them was useful. would you mind please help me with my problem.
thank you so much
hamid
Please login with a confirmed email address before reporting spam
I forgot to add in last post; as you have asked for a rectangular yz plane; just vary s1 from y1 to y2 and s2 from z1 to z2
expressions > x = x1; y = s1; z = s2 ... that you give you a small rectangular cut plane.
Good luck.
Dear Mranal,
I tried plotting Parameterized Surface as you suggested, but I have got a error (see the attachment). Could you please point out a mistake?
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
- FORUM Finding A Specified Flow Rate In A '3D Cut Plane'
- KNOWLEDGE BASE Improving Convergence of Nonlinear Stationary Models
- KNOWLEDGE BASE Stabilization Schemes in COMSOL
- KNOWLEDGE BASE Two-Phase Flow Modeling Guidelines
- BLOG Computing Total Normal Flux on a Planar Surface
