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

How to print out coordinates of cells in Icem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2009, 12:06
Default How to print out coordinates of cells in Icem
  #1
New Member
 
Jan Östh
Join Date: Jul 2009
Posts: 1
Rep Power: 0
mrMunson is on a distinguished road
Hi

I would like to print out the coordinates of the cell centers at the inlet selection on a mesh to a separate data file. Does anyone know a way to do this in icem cfd? The mesh is created in icem, but I got other software such as fluent available if it's necessary to export the mesh into another format.

Regards
/Munson
mrMunson is offline   Reply With Quote

Old   July 17, 2009, 12:09
Default No you will need to change format.
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
You cannot just import the *.uns, or *.blk of Icem in Fluent. You need to change the format, there's a small procedure for that, I guess you know these stuff..If not, mail me back.

regards,
Tushar Chourushi
Tushar@cfd is offline   Reply With Quote

Old   July 17, 2009, 12:12
Default Talking about the first question that you asked.
  #3
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Well Icem don't have this facility, but it can be made possible manually, you need to do some more stuffs for that.... anyways I am afraid you will not get the results as such. If you do get some, just reply me back would like to hear new things.

regards,
Tushar Chourushi
Tushar@cfd is offline   Reply With Quote

Old   July 28, 2009, 10:49
Default
  #4
New Member
 
olivier braun
Join Date: Mar 2009
Location: Lausanne, Switzerland
Posts: 19
Rep Power: 17
obraun is on a distinguished road
Well, in my experience ICEM is not really strong in exporting simple ASCII of whatever he might be meshing.
For structured mesh, I managed to get out some pure 2D mesh using the .geo export format as the most readable one that I quickly identified.
Once you have gone unstructured, it is a relative pain to reconstruct the mesh structure. But if you are unstruct, there is no other way anyway.
Anyway .. face centers?? What does ICEM know about what your solver considers to be a cell center (center of gravity or whatever). But if you know how, your triangles might help.
One way, transfer the mesh to CFX to make the dumbest of setups possible, just what you need to write a definition file. Open this in the post-processor and export the region as csv. You get a list of node coordinates and a connectivity table telling you which nodes make up the triangles.
Another way is to parse the cfx export format written by ICEM. The node coordinates are a first long list of coord triples. In the rest, the volume elements and faces are defined. Search for the name of your region and you get the indices of the nodes in the triplet lists that define your tris / quads. Up to you to know how the face center is defined from that. With MATLAB at your hand or other tools of your choice, you can get everything, but it will always be a good moment to spend with coding this, depends if you need it once or very often...
obraun is offline   Reply With Quote

Old   May 3, 2012, 08:53
Default groovyBC problem: unread condition
  #5
New Member
 
Darwin
Join Date: Apr 2012
Posts: 2
Rep Power: 0
sundark28 is on a distinguished road
Hi,

I read posts, which are related to groovyBC but i can still not understand why my boundary condition is not accepted by OpenFOAM. Here is my boundary condition on the velocity profile:
EINLASS

{
type groovyBC;
variables "rvc = 0.2*0.020; vmax = 5;
r = sqrt(pos().x,2)+pow(pos().y,2));teta = arctan(pos().y/(pos().x));
ux = (pow(r,2) < pow(rvc,2) && 0 < pow(r,2)) ? -vmax*r*sin(teta)/rvc:-vmax*rvc*sin(teta)/r;
uy = (pow(r,2) < pow(rvc,2) && 0 < pow(r,2)) ? vmax*r*cos(teta)/rvc:vmax*rvc*cos(teta)/r;";
valueExpression "vector(ux uy 5)";
}

OpenFoam returns this message:
"> FOAM Warning :
From function groovyBCFvPatchField<Type>::groovyBCFvPatchField(c onst fvPatch& p,const DimensionedField<Type, volMesh>& iF,const dictionary& dict)
in file groovyBCFvPatchField.C at line 119
No value defined for U on EINLASS therefore using 260{(0 0 0)}
Reading/calculating face flux field phi"

It seems that OpenFoam does not accept my boundary condition or does not read it. Can anyone give me some hints to solve this ?

Thanks in advance!

Regards

Darwin R.
sundark28 is offline   Reply With Quote

Reply


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
how to get node coordinates for free surface cells fred FLUENT 1 August 15, 2014 01:52
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
How to edit point coordinates in ICEM? Alexey CFX 6 December 24, 2007 10:31
Center coordinates of all the cells in a cellset lizhihua Siemens 0 August 21, 2006 03:59
physical boundary error!! kris Siemens 2 August 3, 2005 00:32


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