Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Get information from CFX

Please login with a confirmed email address before reporting spam

hello
dose anyone knows how can you change the comsol's m file to gather a pressure data from cfx(ansys) in transient running and take it back to comsol and run again?
thank you

3 Replies Last Post 17 oct. 2011, 10:11 UTC−4
Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 24 sept. 2011, 10:58 UTC−4
Why would you want to do this ? This is asking for trouble and problems.

But, if you insist, even after realizing that COMSOL has a much better CFD simulation capability that will provide the data you need to produce multi-physics simulations, I am guessing you could do this by the following:

1) write the CFX data out to a file,

2) read the data in via the function capability of COMSOL

3) use the function within the COMSOL solution

4) run the entire job within a MATLAB loop that controls both the CFX and COMSOL execution

5) will probably require explicit time stepping to get all this to work; and probably will produce questionable results because of that

forewarned:

History has proven that trying to create multiphysics simulations by coupling separate codes through explicit time stepping and external data I/O (via file or memory or "ram disk") is prone to failure.
Why would you want to do this ? This is asking for trouble and problems. But, if you insist, even after realizing that COMSOL has a much better CFD simulation capability that will provide the data you need to produce multi-physics simulations, I am guessing you could do this by the following: 1) write the CFX data out to a file, 2) read the data in via the function capability of COMSOL 3) use the function within the COMSOL solution 4) run the entire job within a MATLAB loop that controls both the CFX and COMSOL execution 5) will probably require explicit time stepping to get all this to work; and probably will produce questionable results because of that forewarned: History has proven that trying to create multiphysics simulations by coupling separate codes through explicit time stepping and external data I/O (via file or memory or "ram disk") is prone to failure.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 oct. 2011, 08:36 UTC−4
Thank you so much for your kind information
I want to ask you some questions about comsol's ability.
I'm working on cylinder underwater and I can't neglect the effect of viscosity,also the fluid is incompressible.so with this information are Comsol able to model this and get the pressure analysis information for acoustical analysis?
thank you
Thank you so much for your kind information I want to ask you some questions about comsol's ability. I'm working on cylinder underwater and I can't neglect the effect of viscosity,also the fluid is incompressible.so with this information are Comsol able to model this and get the pressure analysis information for acoustical analysis? thank you

Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 oct. 2011, 10:11 UTC−4
Yes.
Yes.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.