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

Remeshing error using Define_grid_motion in Macro parallel

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 25, 2021, 11:29
Post Remeshing error using Define_grid_motion in Macro parallel
  #1
msw
New Member
 
Marvin
Join Date: Jan 2018
Posts: 4
Rep Power: 8
msw is on a distinguished road
Hello,

I am having trouble using the remeshing option when using the define_grid_motion Macro in parallel, smoothing is working fine.
It is also working fine in serial.

I have attached a screenshot after it crashes. Does anyone have any suggestions, thank you for taking the time. Happy to provide further infromation if needed.

Code:
DEFINE_GRID_MOTION(foil, domain, dt, time, dtime)
{
#if !RP_HOST
	Thread *tf = DT_THREAD(dt);
	face_t f;
	Node *v;
	int n;

	SET_DEFORMING_THREAD_FLAG(THREAD_T0(tf));
	begin_f_loop(f, tf)
	{
		f_node_loop(f, tf, n)
		{
			v = F_NODE(f, tf, n);						
			if (NODE_POS_NEED_UPDATE(v))
			{
				NODE_POS_UPDATED(v);

                           //Update NODE_Y(v) = y(x,t)
                          
                         }
                  }
        }
	end_f_loop(f, tf);
	
 #endif
}
Attached Images
File Type: jpg remeshing_error.jpg (201.8 KB, 7 views)
msw is offline   Reply With Quote

 


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
Remeshing error in parallel in FLUENT loving_cfd FLUENT 0 November 14, 2020 05:38
timestep extraction for macro manuc Tecplot 0 August 10, 2016 12:20
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
simpleFoam in parallel issue plucas OpenFOAM Running, Solving & CFD 3 July 17, 2013 11:30
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 12:00


All times are GMT -4. The time now is 07:38.