CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

scalar field only on one part of a surface

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By kirrer
  • 1 Post By Edward1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2016, 08:05
Default scalar field only on one part of a surface
  #1
New Member
 
Join Date: Jun 2016
Posts: 11
Rep Power: 5
Edward1 is on a distinguished road
Good morning/evening everyone,

I'm using a file created by someone else with several channels linked together (that is more or less a "double-T" entrance with a main channel after). The whole model consists in 2 surfaces : "top and bottom" and "sides".
I would like to compute wall shear stress (or any other values) only on one piece of these geometries. It means that I'm trying to split/cut "top and bottom" in 2 parts (or two derived parts, I don't care) that will have to be "stick" to the real walls "top and bottom". (I don't want the entrance, just the wall shear stress in the main channel).
I've already been able to split in into "top" and "bottom" but not more.

Have you any idea to solve this issue?

I hope that it is clear enough,
many thanks in advance

Edward

PS : please apologize my bad English.
Edward1 is offline   Reply With Quote

Old   June 8, 2016, 09:37
Default
  #2
New Member
 
Kevin
Join Date: Oct 2012
Posts: 29
Rep Power: 9
kirrer is on a distinguished road
You can use derived parts as you indicate to do this. Note that you can also use a derived part as the input to another derived part. For instance, if you use thresholds to split "channel" into "top" and "bottom" based on Position in z axis, then you can split "top" into "top front" and "top back" based on Position in x axis. Each subsequent derived part will still refer to the cells or faces of the original mesh, regardless of whether it's based on the original mesh or a derived part thereof.

I hope I understood your question - but, I could also be missing it. If this is not clear, or the answer you are looking for, can you provide more information - such as a screenshot of the geometry and how you want to further divide it?
kirrer is offline   Reply With Quote

Old   June 8, 2016, 10:03
Default
  #3
New Member
 
Join Date: Jun 2016
Posts: 11
Rep Power: 5
Edward1 is on a distinguished road
thanks for that answer. Actually you've perfectly understood my question. I didnít know that we can specify a position along x-axis to split a surface. Could you tell me more precisely how to do it, using constrained plane?
It is probably easy, but so far I've just got a line instead of a plane when I tried to define my sub-surface.
Attached Images
File Type: jpg geometry.jpg (24.1 KB, 23 views)
Edward1 is offline   Reply With Quote

Old   June 8, 2016, 12:37
Default
  #4
New Member
 
Kevin
Join Date: Oct 2012
Posts: 29
Rep Power: 9
kirrer is on a distinguished road
My advice is first to create a scalar scene, and on that scene plot the scalar you want to use to split (for example, position in x axis). Find the value where you want to make your division - you can get this from the color of the scalar, or press the period key (.) when your mouse cursor hovers over the location - this will report the scalar value in the output window. Then, create a threshold part (derived part). You can see full directions in the manual, but essentially select the part which is the base of the derived part (like your "top" mentioned above), then select the field function used to create a threshold (like Position in x axis), then select the condition used for the threshold (position in x below 0.05 m, above 0.1m, between 0.05 and 0.1m, etc). Click create, add a geometry displayer to visualize it if you like, and then you can use that new derived part the same way you would have used a boundary in the past (for example, make a Surface Average report of Wall Shear Stress).

Note that you do not use a constrained plane with this method - much easier to use thresholds. I'm not even sure if you could do it with constrained planes, except for splitting the original geometry and recreating the mesh (using the surface repair tool).

Hope that helps!
Edward1 likes this.
kirrer is offline   Reply With Quote

Old   June 10, 2016, 07:39
Default
  #5
New Member
 
Join Date: Jun 2016
Posts: 11
Rep Power: 5
Edward1 is on a distinguished road
Hi kirrer,

Thanks for your help. That exactly what I was looking for. I took me a couple of hours to get results different to 0 but now it seems to be ok
kirrer likes this.
Edward1 is offline   Reply With Quote

Old   January 18, 2019, 16:25
Default How to divide a plane into parts in Star-CCM+
  #6
New Member
 
Moon
Join Date: Jan 2019
Posts: 3
Rep Power: 3
munibadshah is on a distinguished road
How to divide a plane (Scene I have generated in Star_CCM+) into multiple equal halves as shown in the picture. I want to get the weighted area average of field function in each area separately. Thank you
Attached Images
File Type: jpg PLANE_sTAR-ccm+.jpg (40.6 KB, 10 views)
munibadshah is offline   Reply With Quote

Old   January 28, 2019, 09:46
Default
  #7
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 401
Rep Power: 14
bluebase is on a distinguished road
Hi Moon,


i don't know if there is an elegant way.
The following method is somewhat laborous.


Create a new threshold in derived parts. Select your domain of interest as parts input (this would likely be a plane section). Use one axis of the Field Function "Position" as scalar field input. Set the range of the respective column/row.
Then, create another new threshold. Select the previous threshold as parts input. Use another axis of "Position" as scalar field input. Select a suitable range again.


Repeat these steps until you end up with a thresholds which filtered out everything but the respective cell in the desired grid.


These derived parts could then be taken as input for reports.




Please Check continuity over those 16 threshold cells. The above method does not guarantee that all cells are included.






Best regards,
Sebastian
bluebase is offline   Reply With Quote

Old   February 13, 2019, 00:25
Default
  #8
New Member
 
Moon
Join Date: Jan 2019
Posts: 3
Rep Power: 3
munibadshah is on a distinguished road
Thank you Sebastian. Actually I did in the same way But now I want to create surface average of a circular area at the center of each square section as we calculate properties by using probe. I want to have the same size surface area say 30 gage wire (0.01in). Do you have any idea to do it quickly. Thank you
munibadshah is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 08:30
using a Fortran library of thermodynamics inside sutherland transport model Mehdi3031 OpenFOAM Programming & Development 0 April 7, 2016 10:34
Issue symmetryPlane 2.5d extruded airfoil simulation 281419 OpenFOAM Running, Solving & CFD 5 November 28, 2015 14:09
Tangential component of gradient of scalar field at surface tehache OpenFOAM Running, Solving & CFD 5 July 4, 2013 08:13
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 06:32.