CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   Using table(x,y,z) to assign different temperatures to a surface. (http://www.cfd-online.com/Forums/star-ccm/97546-using-table-x-y-z-assign-different-temperatures-surface.html)

fshak92 February 20, 2012 07:47

Using table(x,y,z) to assign different temperatures to a surface.
 
I have an exported csv file of simulation of a model in another software which includes the temperature of each coordinates(4 column-->3 for x,y,z and 4th for corresponding temperature)
I want to assign these temperatures to the same model in StarCCM as their BOUNDARY CONDITION.What should i do?
Whether i have to combine all boundary surfaces to one or not?((to be able to assign this table as the constant temperature to its boundary condition with table(x,y,z) method))
Thank you in advance.

rwryne February 20, 2012 12:12

Quote:

Originally Posted by omid88 (Post 345298)
I have an exported csv file of simulation of a model in another software which includes the temperature of each coordinates(4 column-->3 for x,y,z and 4th for corresponding temperature)
I want to assign these temperatures to the same model in StarCCM as their boundary conditions.What should i do?
Whether i have to combine all boundary surfaces to one or not?((to be able to assign this table as the constant temperature to its boundary condition with table(x,y,z) method))
Thank you in advance.


Under Tools, go to Tables. Right click->new table->from File (or something similar)

fshak92 February 20, 2012 12:39

Quote:

Originally Posted by rwryne (Post 345358)
Under Tools, go to Tables. Right click->new table->from File (or something similar)

Thank you, but i mean whether it is a correct way or not?
I mean whether the software assigns each temperature to each coordinates?
because the coordinates are not necessarily the mesh cell's coordinates.

rwryne February 20, 2012 14:16

Quote:

Originally Posted by omid88 (Post 345363)
Thank you, but i mean whether it is a correct way or not?
I mean whether the software assigns each temperature to each coordinates?
because the coordinates are not necessarily the mesh cell's coordinates.

As I understand it, and I have only done this once a while back, it should interpolate the values onto your mesh as long as they are reasonably close.

Your best bet is to import the table, assign it as the initial condition, and then to initialize the solution. You should be able to investigate it then, without ever actually running the simulation.

edit: I just reread your post and noticed you want to use these as a boundary condition rather than a initial condition. I would still try it as an initial condition, just to make sure it is reading it right. If that works, then proceed to assigning it as a BC.

fshak92 February 21, 2012 09:41

When i assign the mentioned table to surface's boundary condition, i get this error after running:
' Table does not contain position column 'x' required by coordinate system laboratory '
Does it mean that some coordinates are located out of my boundary surface?

rwryne February 21, 2012 09:59

Quote:

Originally Posted by omid88 (Post 345530)
When i assign the mentioned table to surface's boundary condition, i get this error after running:
' Table does not contain position column 'x' required by coordinate system laboratory '
Does it mean that some coordinates are located out of my boundary surface?

No, it sounds like it is not parsing your data as you expect it to.

Make sure your first line is something like: x,y,z,<parameter name>. It helps when they are labeled like this as STAR-CCM+ can parse them, I believe.

Anyways, make sure you assign it properly:

Click the parameter you want to specify via table, change method to Table (x,y,z).

Expand that parameter's node and click the Table(x,y,z) and make sure it is picking up the right columns for X-coordinate, etc.

fshak92 February 22, 2012 07:28

Thank you
I think there were some problems about , instead of .!
and also as you said lacking the name ( X Y Z above of my columns)
it seems that the problem has been solved,
Thank you


All times are GMT -4. The time now is 05:44.