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 Oct 17, 2011, 10:11 a.m. EDT
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 Sep 24, 2011, 10:58 a.m. EDT
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 Oct 17, 2011, 8:36 a.m. EDT
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 Oct 17, 2011, 10:11 a.m. EDT
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.