Jump to content
Sign in to follow this  
yao

How do I switch between a 'temperature_type = value' and 'temperature_type = flux' within the same simulation?

Recommended Posts

Specify the Simple_Boundary_Condition with 'temperature_type = flux' with the desired values. Add a Nodal_Boundary_Condition on the surface with the desired temperature - but add 'active_type = user_function'. Within the user function, the return value should be '1' when the temperature condition is desired and '0' when the flux condition is desired.


The attached example has an AcuConsole database and the sample UDF. First, compile the UDF via acuMakeLib or acuMakeDll. Start acuConsole, open the database, and create the mesh (meshing parameters are assigned). Then run the problem. The duration of the problem is 12 seconds. Time 0-2 and 6-8 have fixed temperature and 2-6 and 8-12 have the flux condition.


 


Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...