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

Moving singleGraph line with moving reference frame

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2020, 15:32
Default Moving singleGraph line with moving reference frame
  #1
Member
 
Mike Worth
Join Date: Jun 2019
Posts: 45
Rep Power: 7
MikeWorth is on a distinguished road
I'm running a model, where I've used multiSolidBodyMotionSolver linearMotion to translate my mesh, which appears to be doing what I'd like; however it has broken my probe output.

I've got a singleGraph set up that reads a parameter along a fixed line, which slowly stops being useful as my mesh translates away, and there is eventually no overlap between the line and my mesh. At this point it doesn't give any useful output.

Is there a way to either configure singlegraph to move with the mesh, or access the current time within my setup dict so and use this to calculate moving co-ordinates for the line?

Thanks,
Mike
MikeWorth is offline   Reply With Quote

Old   July 1, 2020, 12:12
Default
  #2
Member
 
Mike Worth
Join Date: Jun 2019
Posts: 45
Rep Power: 7
MikeWorth is on a distinguished road
I've come up with a crude method, which sort of works but not very efficiently - have a very long line that extends far beyond the mesh, and translate the mesh parallel to this line.

I tried using face, midPoint and midPointAndFace, but they all missed out a load of mesh elements, leaving me with defining a huge uniform set of points, most of which miss my mesh.

It's giving me the output I want, but seems to be slowing down my solving substantially. Does anyone have a better suggestion?
MikeWorth is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Gmsh] Structured meshing in Gmsh the_phew OpenFOAM Meshing & Mesh Conversion 19 August 24, 2022 04:19
Post processing of rotational moving reference frame Brathmann FLUENT 1 March 22, 2013 11:39
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
[blockMesh] BlockMeshmergePatchPairs polyTopoChanger benru OpenFOAM Meshing & Mesh Conversion 3 June 29, 2008 22:24
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


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