-
-
April 17, 2024 at 4:19 pm
Conor Leighton
SubscriberHi,
I have an array of components in a fluid domain (order of hundreds), each of which has cylindrical material properties.
I have created local coordinates in spaceclaim that would be the origin for the material properties. This workflow works in mechanical.
However, I understand that fluent works entirely on the global coordinate system - and as such, each component would require the material property axis to referenced according toÂ
Is there a way of exporting the local coordinates from spaceclaim into something fluent can understand?
Is there a way of 'looping' through each components applying the material properties appropriately.
I have a horrible feeling I may need to start getting my head around UDFs and python . . . but if anyone could give some examples as a head start I'd very much appreciate it! -
April 18, 2024 at 10:44 am
Rob
Forum ModeratorNo, Fluent can also work on local coordinates. It depends on what these components are/do.Â
-
April 18, 2024 at 12:46 pm
Conor Leighton
SubscriberÂ
OK, that sounds promising, cheers Rob.
The model has an array of rods, each of which have self heating and cylindrical anisotropic thermal conductivity centred about their axis.
The ‘desire’ for local coordinates is to have one per cylinder, which I can then use to assign the axis of the cyl-orthrotopic material properties to – though I’m open to other methods if they are preferable?
There’re no sliding meshes or anything that fancy – just a load of cylinders getting hot. The fluid domain is non-repeating so I can’t just model one unfortunately.
It was relatively trivial to attach the coordinates in spaceclaim – and mechanical can use them in exactly this way. I’m struggling to find the equivalent method in fluent.
Any and all help greatly appreciated.Â
-
April 18, 2024 at 1:33 pm
Rob
Forum ModeratorI think you set the material viaÂ
So it's material dependent. However, once you've set one material up the TUI comes in to play. Click into the Fluent Console, and type
/define/materials Â
Then follow the prompts. This will give you the command syntax. It's then a case of combining the commands with the coordinates & material labels from SpaceClaim etc to build a journal file. Sounds complex, it's very simple but you need to exercise care.Â
There's also a solid zone option - Material Orientation - but I don't that's what you need here.Â
Â
Â
-
April 26, 2024 at 1:22 pm
Conor Leighton
SubscriberÂ
OK, I set the material properties as above – I have defined one material:
I have then tried to assign that material to each component using a journal file, stating the axis of rotation about which I would like the material to orient. The script has indeed applied the material and altered the coordinates for each cell:
However, the results clearly show that this hasn’t worked – it would appear that every cylinder has the cylindrical axis for thermal conductivity centred about the global origin, rather than around the coordinates specified in the solid zone rotation-axis origin.
Not quite sure what it is I am doing wrong – the only thing I can think of is that I have to create a new, independent material for every single cylinder and then alter the coordinates in the cyl-orthotropic panel – but this doesn’t really feel sensible?Â
-
April 26, 2024 at 1:39 pm
Rob
Forum ModeratorI possibly wasn't very clear. You need a unique material for each zone. It's a fairly new feature, so you may want to test on a smaller model.Â
-
April 26, 2024 at 2:06 pm
Conor Leighton
SubscriberHi Rob,
Thanks for your continued support - much appreciated!
So what I have been doing is defining the material once, then looping through the cell zones assigning the material, and then (wongly) using the cell rotational zone coordinates, assuming that that aligned the cyl-orthotropic axis to the cell zone.
What I need to do is loop through defining the materials with the same coordinates I previously used, and then another loop only assigning the material properties but leaving the cell rotational zone coordinates alone.
OK, cool, thanks Rob! -
April 26, 2024 at 2:12 pm
Rob
Forum ModeratorProbably - it's Friday.... So, lots of materials each with the position coordinates. Then assign each cell zone it's (correct) material.Â
Let me know how you get.Â
-
April 30, 2024 at 11:06 am
Conor Leighton
SubscriberIt works!
Well, at least that issue works. Results show the expected behaviour.
In essence for further readers: one material per component, with the cyl-orthotropic coordinates in the material properties. Even if all the components are the same - the material property defines the coordinate system for the assembly.
Cheers Rob, much appreciated!
-
- The topic ‘Multiple component coordinate systems to fluent for material properties’ is closed to new replies.
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script Error
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
- Running ANSYS Fluent on a HPC Cluster
- Point exception in erosion calculation
-
1932
-
823
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.