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

FSI - verification force mapping with mfx

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2010, 08:59
Red face FSI - verification force mapping with mfx
  #1
New Member
 
Join Date: Jul 2010
Posts: 22
Rep Power: 16
Vinzent is on a distinguished road
Hi,

I apologize in advance for my bad english.
I am working on a two-way coupled FSI simulation with water and rubber membrane with MFX.
When the load transfer of the pressures on the structure probably caused inaccuracies, which I am on the track.
Unfortunately, there is (still) not a viable solution to issue the load transfer or to visualize. For me currently is the only way to be considered by the MFX solver written out ANSYS.db File in Classic.
However, I can not trust the specified nodal loads. The differences are too big, although the results are not too bad. I do not know exactly what MFX drives there, the load transfer is not transparent for me.

To check the mapping on MFS there exists the command MFMAP. Does anyone know such a possibility for MFX?

Thanks in advance.

Vinzent
Vinzent is offline   Reply With Quote

Old   July 15, 2010, 09:27
Default
  #2
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 21
stumpy is on a distinguished road
If you insert the command:
/debug,,2
you'll get text output in the stdout file showing ALL the details of the load transfer (it's a lot of output). You can also insert monitor points in CFX such as:
force_x()@fsi_interface
force_y()@fsi_interface
force_z()@fsi_interface
and compare to the values shown in the stdout file each coupling iteration. In CFX enable "monitor coefficient loop convergence" so you can see the monitor point data each inner loop. Also check the interface mapping near the start of the ANSYS.stdout file to make sure all the nodes were mapped correctly.
stumpy is offline   Reply With Quote

Old   July 15, 2010, 10:07
Default
  #3
New Member
 
Join Date: Jul 2010
Posts: 22
Rep Power: 16
Vinzent is on a distinguished road
thanks a lot for your answer.
but, i think, the forces catched this way are just values within the cfd field. isnīt it? iīm interested in what happens across the interface. what data reaches ansys? how good are they mapped?
where can I insert a command like "debug", at the end of the mf-file?

"interface mappin near the start of the ANSYS.stdout file" is a good cue. please look at this:

SURFACE INTERPOLATION MAPPING

PROFILE PRESERVING INTERPOLATION MAPPING
--------------------------------------------------------------------
Sending region name = 3
From sending process = ANSYS
to receiving process = CFX
Transferring variable = DISP
Percentage complete = 25 % ...
Percentage complete = 50 % ...
Percentage complete = 75 % ...
Percentage complete = 100 % ...
Processing complete
--------------------------------------------------------------------


CONSERVATIVE INTERPOLATION MAPPING
--------------------------------------------------------------------
Sending region name = IterfaceInside
From sending process = CFX
to receiving process = ANSYS
Transferring variable = Total Force
Sending Side: Total Area = 5.48450E-03
Non-Matching Area Fraction = 0.0000%
No. of Un-Mapped Nodes = 0
Receiving Side: Total Area = 1.13218E-02
Non-Matching Area Fraction = 48.0235%
No. of Un-Mapped Nodes = 12

*** WARNING *** CP = 1.500 TIME= 13:45:00
The component MFLC_3_2_FORC_1 was created for MFLC,3,2,FORC,1 command
to display improperly mapped nodes. Set /debug,,2 for more
information on improperly mapped nodes.

My Models (ANSYS and CFX) are a very good match. My ANSYS support guy explains the 48% non-matching with a bug in cfx. any other ideas?
Vinzent is offline   Reply With Quote

Old   July 15, 2010, 10:29
Default
  #4
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 21
stumpy is on a distinguished road
Are you using high order tet elements on the ANSYS side of the FSI interface, with version 12.0 or 12.1? If so, the cause of the high non-overlap fraction is a bug in the ANSYS mapping. You can either:
- use hex element on the interface
- drop mid-side nodes so that low order tets are used (SOLDI185) - this would be a good test to perform in any case.
- contact your ANSYS support guy to see if a patch is available
stumpy is offline   Reply With Quote

Old   July 15, 2010, 10:52
Default
  #5
New Member
 
Join Date: Jul 2010
Posts: 22
Rep Power: 16
Vinzent is on a distinguished road
iīve had the same idea, 4-node surf elements (upon 8-node solids) at ansys side and hex elements at cfd side. same problem. there is no path, they say.
could my pseudo 2D model (one element thick with sym-bounds) be the reason?
how does it work with the debug command?
Vinzent is offline   Reply With Quote

Old   July 15, 2010, 15:26
Default
  #6
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 21
stumpy is on a distinguished road
4-node surf elements? Surface elements are not used to transfer the forces, they are applied directly to the nodes of the 3D solid elements. Actually if you have inserted surface elements then they may be picked up in the area calculation, hence almost 50% non-overlap. Delete those surface elements.
For the debug command, just drop it into your Mechanical input file anywhere before the solve command (or drop it into a Command Object in WB).
stumpy is offline   Reply With Quote

Old   July 19, 2010, 09:24
Default
  #7
New Member
 
Join Date: Jul 2010
Posts: 22
Rep Power: 16
Vinzent is on a distinguished road
@stumpy: Thank you for your answer. The problem with tho overlapping SURF and SOLID-Elements seems pursuable for now.
When I delete the 154'er I get a confusing error message:

*** ERROR *** CP = 1.547 TIME= 13:46:56
No FSIN boundary, for interface no. 1, in sending side is defined for
MFSU command.

because the interfaces are preserved after erasing, according to CLASSIC plot view.
In ANSYS help MFSU is only valid for ANSYS Multi-field solver (MFS), not for a MFX simulation. Has anybody an idea?

to make a statement referring to the usage of SURF-Elements: To prepare my simulation, I need a prestressed initial geometry (large displacements). In the first step, the simulation is just static with hydrostatik pressure, what requires SURF-Elements.
Up to the present for step two (FSI) I just deleted the static pressure.
Vinzent is offline   Reply With Quote

Old   July 19, 2010, 18:04
Default
  #8
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 21
stumpy is on a distinguished road
To do a pre-stressed analysis I think you need to set it up as a 2-way FSI (MFX) simulation from the beginning. You could set up the FSI interface so that no forces are passed from the fluid to solid initially, then turn on those forces when restarting. Are you setting this up in Prep7 or Workbench?
stumpy is offline   Reply With Quote

Old   July 20, 2010, 08:15
Question
  #9
New Member
 
Join Date: Jul 2010
Posts: 22
Rep Power: 16
Vinzent is on a distinguished road
Itīs mixed. the structural model, I designed with dm under worbench, the mesh an the structural setup under WB 'structural'. for the hydrostatic pressure and the output files I used command objects. I got:
- cdb-file with the deformed geometry to design the fluid mesh with icem cfd
- rst-file for the structural restart (upgeom)
- ist-file with initial stress corresponding to the displacements (strains)
- cdb-inputfile for the restart (complete set)

The mf-file I wrote manually as follows:

/INPUT,'..\input','cdb',,, 0
/prep7
!esel,s,enam,,154
!edele,all
alls
cmsel,s,fluid
cm,FSIN_1,node
sf,FSIN_1,fsin,1,2
alls
cmsel,s,fluidin
cm,FSIN_2,node
sf,FSIN_2,fsin,3,4
alls
/solu
INISTATE, READ, '..\file',ist
alls
/prep7
upgeom,1,,,'..\file',rst
FINISH
/debug,,2
alls
/solu

! *********** WB SOLVE COMMAND ***********
! check interactive state
*get,ANSINTER_,active,,int
*if,ANSINTER_,ne,0,then
*endif
MFAN,ON
MFTI,1
MFDT,1,1,1,OFF
MFLC,SURF,ANSYS,1,DISP,CFX,'Interface','Total Mesh Displacement',NONC
MFLC,SURF,CFX,'Interface','Total Force',ANSYS,1,FORC,CPP
MFLC,SURF,ANSYS,3,DISP,CFX,'IterfaceInside','Total Mesh Displacement',NONC
MFLC,SURF,CFX,'IterfaceInside','Total Force',ANSYS,3,FORC,CPP
MFIT,1,1,1
MFCO,ALL,1e-2
MFRE,ALL,1,RELX
MFPS,group1,ANSYS
MFPS,group2,CFX
MFSO,group1,group2
CMWRITE,ANSYS,cm
KBC,1
/GST,ON,ON
SOLVE
SAVE
CMWRITE,ANSYS,cm
FINISH
/EXIT

The solution I started with CFX solvermanager.

The results are not to bad, but not good enough. Initial stress, geometryupdate works fine. the mfx-setup (with surf-elements) seems to work so, however the diffenences I canīt reconstruct.

Unforunately deleting the SURF elements results in errors. So I canīt test it. But, does it really matter? SURF and SOLID elelemnts share the same nodes at the surface.

Debug works. Iīm currently trying to figure out the interesting parts of the huge out-file. I keep you posted.
Vinzent is offline   Reply With Quote

Old   July 20, 2010, 09:53
Default
  #10
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 21
stumpy is on a distinguished road
There's a lot of interesting points here! First, it was my understanding that you couldn't use SURF154 elements to receive the displacements on the ANSYS side, but you said it seems to be working fine. I would recommend doing a simple test that can be used to verify the loads and displacements are transfered correctly when SURF154 elements are used. If you set up a Fluid Solid Interface in Workbench and write out the input file you'll see what it's doing. It just identifies the interface nodes in an FSIN component, then this is referenced in the MFLC command. If you delete the SURF elements then you'd need to set up the FSIN components (1 and 3 in your case, looking at your MF file).
Second, the way you've done the pre-stressing by writing out the previous stress state and using upgeom to zero-out the displacement DOF's is interesting. I'm not sure if this would be entirely accurate for non-linear material properties, and I'm not sure if any previous structural velocity would get carried over either. However, this appears to open up the possibility of performing remeshing with 2-way FSI - something else that I was told couldn't be done. The approach you're using is beyond anything I've tried. If you have a good contact in ANSYS support they may know more.
stumpy is offline   Reply With Quote

Old   July 21, 2010, 04:52
Default
  #11
New Member
 
Join Date: Jul 2010
Posts: 22
Rep Power: 16
Vinzent is on a distinguished road
hallo stumpy again,

I guess, my poor english is the reason for the obvious misunderstanding.
Before I tried a simulation without SURF elements the results have been ok, but not correct. I just wanted two things: a way to see exactly what happens while the mapping (this seems to be working with the debug command) and more exact results. Your suggestion (delete the SURFīs) seemed to be a interesting approach. But, when tried this, I got the error message above.

Fortunately there are no nonlinear materials, just large displacements with small strains (only large rotations). In spite of the rubber, hookian material properties are possible in this case.

Thanks for your help.

Vinzent
Vinzent is offline   Reply With Quote

Old   August 3, 2010, 16:53
Default FSI remsh
  #12
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21
singer1812 is on a distinguished road
Stumpy:

This does work for MFX and remeshing on the fluid side. For non-linear materials you can read in the plastic and elastic strain and initialize the structure in that manner (one issue with INISTATE is that it writes out the state at each iteration, so you either have to deal with a very large file or delete it every now and then). And as you noted the structural velocities are not carried over, so you have to induce them in a pre-restart manner. And since this isn't officially a "restart" (more of a fresh start at all the previous state values), you need to use the "pre-restart" to initialize the ANSYS solution to the restart time (since you can't arbitrarily choose that in ANSYS).
singer1812 is offline   Reply With Quote

Old   August 4, 2010, 17:50
Default
  #13
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 21
stumpy is on a distinguished road
Very useful info. Thanks!
stumpy is offline   Reply With Quote

Old   August 10, 2010, 16:25
Default update
  #14
New Member
 
Join Date: Jul 2010
Posts: 22
Rep Power: 16
Vinzent is on a distinguished road
Now I could build a simple test model to reproduce the error, a vertical bar with hydrostatic pressure left. as the correct model, the pressure was applied on SURF elements.
Starting from the stressless state, deleting the SURF-elements causes no error. The coupling works fine.
However, with predeformation or bias, the approach results in the above-mentioned error in the same way. Obviously, anything harmful happens during this process. Does anyone have an idea?

Vinzent
Vinzent is offline   Reply With Quote

Old   August 13, 2010, 04:50
Default update2
  #15
New Member
 
Join Date: Jul 2010
Posts: 22
Rep Power: 16
Vinzent is on a distinguished road
Obviously itīs a matter of the order. If the FSIN definition comes after INISTATE an UPGEOM coupling suddenly works.

Another problem, I havenīt mentioned so far. Only if I start the prestressed and predeformed simulation with an initial field at the fluid side (to save time), only nodes at z=0 get forces (see the debuged out-file). In this case of the quasi 2D model (one Element thick) FX sum is about 50%.
Without initial conditions from a res-file, all interface nodes have forces and the sum is correct. Why?

Vinzent
Vinzent is offline   Reply With Quote

Old   September 18, 2011, 19:00
Default Mfx
  #16
New Member
 
javad
Join Date: Aug 2011
Posts: 2
Rep Power: 0
javad.emamgholizadeh is on a distinguished road
Hi Dears
How can i see the result of mfx analysis?(e.g Displacment and vector,etc)
thank you
M.J.Emamgholizadeh
javad.emamgholizadeh 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
Structural force in FSI mapping Fluent 12.0 benjamon FLUENT 1 October 24, 2011 11:32
User-defined force transfer across FSI interface vivekcfd CFX 7 March 10, 2010 21:43
FSI with MFX V. Kumar CFX 9 July 21, 2009 05:22
MFX: weired force transfer from cfx to ansys zyf CFX 3 October 7, 2006 04:08
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 04:19.