CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

select specific region of mesh in CFX

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

Like Tree2Likes
  • 2 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2012, 03:54
Default select specific region of mesh in CFX
  #1
New Member
 
Join Date: Apr 2012
Posts: 7
Rep Power: 13
payam.t is on a distinguished road
Hi to everyone, I am a new user of ANSYS CFX,


I want to select specific region of mesh and fill this region with specific values of pressure and temperature as initials values, how can I do this in CFX? Any ideas welcome
payam.t is offline   Reply With Quote

Old   April 18, 2012, 04:39
Default
  #2
Member
 
Raja_Bhai
Join Date: Feb 2012
Location: UK
Posts: 40
Rep Power: 14
tauqirnawaz is on a distinguished road
Please go through this,

http://hikwww2.fzk.de/hik/orga/hlr/A...omains/ch1.pdf
tauqirnawaz is offline   Reply With Quote

Old   April 18, 2012, 05:11
Default
  #3
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
That link refers to an old manual. Instead, see the pdfs that come with the installation (or the built in help).

Read the tutorials in cfx_tutr.pdf. You'll find them at:
<installation root>\ANSYS Inc\v140\commonfiles\help\en-us\pdf\
Lance is offline   Reply With Quote

Old   April 18, 2012, 06:49
Default
  #4
New Member
 
Join Date: Apr 2012
Posts: 7
Rep Power: 13
payam.t is on a distinguished road
My prbolem is NOT inspecting boundary conditions! I want to choose a certain zone of mesh(for example a circular zone) and assign certain pressure and temperature in that zone and initialize problem.
payam.t is offline   Reply With Quote

Old   April 18, 2012, 06:49
Default
  #5
New Member
 
Join Date: Apr 2012
Posts: 7
Rep Power: 13
payam.t is on a distinguished road
Quote:
Originally Posted by Lance View Post
That link refers to an old manual. Instead, see the pdfs that come with the installation (or the built in help).

Read the tutorials in cfx_tutr.pdf. You'll find them at:
<installation root>\ANSYS Inc\v140\commonfiles\help\en-us\pdf\
My problem in NOT specifying boundary conditions! I want to choose a certain zone of mesh(for example a circular zone) and assign certain pressure and temperature in that zone and initialize problem.
payam.t is offline   Reply With Quote

Old   April 18, 2012, 08:13
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Use a CEL expression to define the region, eg a = step(((1[m]-abs(x))/1[m]) selects a strip -1>x>1 to have a=1, elsewhere a=0. You can use this to define initial conditions and boundary conditions.
mjgraf and payam.t like this.
ghorrocks is offline   Reply With Quote

Old   April 18, 2012, 09:04
Default
  #7
Member
 
Oleg
Join Date: Nov 2011
Location: Ukraine, Kharkov
Posts: 57
Rep Power: 14
olegmang is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Use a CEL expression to define the region, eg a = step(((1[m]-abs(x))/1[m]) selects a strip -1>x>1 to have a=1, elsewhere a=0. You can use this to define initial conditions and boundary conditions.
Dear Glen. I'm interested in this thread too. But i'm not sure if it is possible to choose some part of the mesh on the curved surface to be able to set new boundary conditions. Is it possible?

Regards, Oleg
olegmang is offline   Reply With Quote

Old   April 18, 2012, 09:07
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You have access to all the volume and faces defined in the mesh file if you look in the feature tree. But if the volume or face you want is not defined int he mesh file youhave to either remesh to include it or define it another way such as using CEL.
ghorrocks is offline   Reply With Quote

Old   April 18, 2012, 09:18
Default
  #9
New Member
 
Join Date: Apr 2012
Posts: 7
Rep Power: 13
payam.t is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Use a CEL expression to define the region, eg a = step(((1[m]-abs(x))/1[m]) selects a strip -1>x>1 to have a=1, elsewhere a=0. You can use this to define initial conditions and boundary conditions.
Dear glen,thank you for your perfect answer, but I have another question,what is the mean of "step()",I couldn't find it in CFX help

Last edited by payam.t; April 18, 2012 at 09:55.
payam.t is offline   Reply With Quote

Old   April 19, 2012, 09:49
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
step() is in the CFX reference manual. It returns 0 if the argument is negative, 0.5 if zero and 1 if positive.
ghorrocks is offline   Reply With Quote

Old   April 20, 2012, 05:31
Default
  #11
New Member
 
lihui
Join Date: Jun 2010
Posts: 12
Rep Power: 15
lihui54312 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
step() is in the CFX reference manual. It returns 0 if the argument is negative, 0.5 if zero and 1 if positive.
But you must know a point,a bout step() function, step() just back to three value,0,1,0.5,but about the step(x),this x, you must know this value not real value,just floating point.If the floating point locate nearby the value zero, and want to use the step()function, must use interpolation method to sovle it.
lihui54312 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
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02
CFX mesh & ICEM mike CFX 3 April 27, 2006 16:27
Refining Mesh at Specific Region Harmeet CFX 1 October 17, 2004 19:44


All times are GMT -4. The time now is 16:42.