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

Ansys CFX, transient task

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2019, 05:48
Default Ansys CFX, transient task
  #1
New Member
 
Andrey Morev
Join Date: Sep 2019
Posts: 2
Rep Power: 0
Emris is on a distinguished road
Hello.
I have such a problem.

Let's say
There is a square bath of conductive liquid (metal)
Permanent magnets rotate around it, stirring the metal.

The Ansys apdl package solved the electromagnetic problem.
That is, I got the forces acting on each element at any given time fx, fy, fz

I imagine I can solve a stationary hydrodynamic problem

I simply create a subdomain, and as a source I specify the user function, which consists of fx, fy, fz for each element

Now the main question is...
but how to make a user function file change (at each moment it should be different, according to the results of solving an electromagnetic task)

or how I can substitute a new file at every step of the way (new distribution of Lorenz forces acting on the melt) .

Thank you very much in advance.

And excuse my bad English.
Emris is offline   Reply With Quote

Old   September 15, 2019, 20:07
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,844
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You appear to be trying to develop a coupling between ANSYS APDL doing electromagnetics FEA and CFX doing CFD. In that case you should use the existing coupling between these softwares. Have a look at the Fluid-Structure interaction in the documentation and tutorial examples. While these examples are based on structural models, the same principles should apply to any ANSYS APDL model.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   September 16, 2019, 01:12
Default
  #3
New Member
 
Andrey Morev
Join Date: Sep 2019
Posts: 2
Rep Power: 0
Emris is on a distinguished road
Thank you very much for the answer, I have read about Fluid-Structure interaction, I can't combine these two tasks in this way (since Ansys apdl doesn't have a volumetric force solution for the centroid (element)).

When I did a stationary task, I did this:
I solved an electromagnetic problem in ANSYS apdl and then formed a table:
coordinates of the center of each element - force components
[m], [m], [m] fx, fy, fz
Further on, in the CFX package itself, I open Tools->initialize profile data
and create a user function that I use as a source on the subdomain.
and it all works fine.

The problem is this
I want to solve the transient problem
i.e.
for each step of time I have a new file with volumetric forces.

Can I somehow substitute them (at each step a new file).
whether it is possible to control the load step and change the source for subdomain
or are there any other mechanisms

thank you so much in advance.
Emris is offline   Reply With Quote

Old   September 16, 2019, 06:27
Default
  #4
Senior Member
 
M
Join Date: Dec 2017
Posts: 698
Rep Power: 12
AtoHM is on a distinguished road
Hm, I dont know how huge these profile data files are allowed to be, but you could group all of the time steps within one file.

Just append all the timesteps to the profile data file and add a column for time.


fx, fy, fz, time
0, 1, 0, 1 //first time step

1, 0, 0, 1
...
0, 1, 0, 2 //2nd time step

1, 0, 0, 2
...
and so on. Just add time as additional dependency in your source term expression.

If there is no size limitation, I don't see why it shouldn't work.
AtoHM is offline   Reply With Quote

Old   September 23, 2019, 14:31
Default
  #5
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,183
Rep Power: 23
evcelica is on a distinguished road
AtoHM's advice sounds like it would work.
though, I didn't know you could make a table like this with more than 4 columns.



Can you use a rotating coordinate system for the source term expression? If that work out?
evcelica 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
ANSYS 17 (CFX Solver) Is Very Slow tj1972 CFX 12 May 28, 2019 06:21
Can you help me with a problem in ansys static structural solver? sourabh.porwal Structural Mechanics 0 March 27, 2016 18:07
Problem with an old Simulation FrankW CFX 3 February 8, 2016 05:28
Issues Uploading Transferring Multiple Time Steps from CFX to Transient Structural leeroy.jenkins CFX 3 October 22, 2015 05:56
FSI using CFX and ANSYS Bi Chang CFX 2 May 10, 2005 05:47


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