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

Solution Based Mesh Adaption

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2021, 18:48
Post Solution Based Mesh Adaption
  #1
New Member
 
Vangelis
Join Date: Apr 2021
Posts: 2
Rep Power: 0
Baggos53 is on a distinguished road
Hello guys

I am running a simulation on a 90 degree pipe bend and I want to create a mesh refinement at the high gradients of the flow. More specifically I am trying to create a field function which will split the mesh cells in two only if the velocity of the flow is above a certain value.
I have created so far a field function where the normalised velocity is calculated (${Normalized Velocity}*${Cell Width} ) and when I am using a refinement function where I used the following formula (${Normalized Velocity}>1.4)? ${Cell Width}/2 :0) however after adapting this to my mesh I get all the cells that are in the mid section of the pipe to split and not the ones where the velocity gradient is large. Can someone help me fix this

Thank you
Baggos53 is offline   Reply With Quote

Old   April 11, 2021, 09:22
Default
  #2
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 251
Rep Power: 13
cwl is on a distinguished road
Did you check how (${Normalized Velocity}>1.4)? ${Cell Width}/2 :0) looks like on a plane section slice for example?
cwl is offline   Reply With Quote

Old   April 11, 2021, 09:26
Default
  #3
New Member
 
Vangelis
Join Date: Apr 2021
Posts: 2
Rep Power: 0
Baggos53 is on a distinguished road
Yes I did and I have figured it out, I had to use the velocity as a scalar function not as a vector. Thanks for corresponding.
Baggos53 is offline   Reply With Quote

Reply

Tags
field functions, mesh 3d, mesh refinement study

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
foam-extend-4.1 release hjasak OpenFOAM Announcements from Other Sources 18 February 9, 2021 06:25
[snappyHexMesh] non uniform mesh near the stl object vava10 OpenFOAM Meshing & Mesh Conversion 0 January 31, 2021 14:41
Converging the solution aja1345 FLUENT 12 January 21, 2019 13:01
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 14:04.