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

Functions with imaginary parts

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2008, 04:23
Default Functions with imaginary parts
  #1
Dzmitry
Guest
 
Posts: n/a
Hi everybody!

I'm a newcomer to working with COMSOL and I've recently encountered a problem. I need to define the complex refractive index value of a material as a function of wavelength in the form of N = n - i*k, where n and k are the functions of wavelength (lambda0_rfweh). Whatever I do, every time I start to solve (after meshing of course) it gives me an error saying the software is not able to evaluate my function N. I tried to define N as a function and N as an equation in the subdomain equations, as well as global expressions and scalar ones, and no result. Thanks in advance!
  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
UDF to disable wall functions Abhinand Fluent UDF and Scheme Programming 3 June 15, 2020 17:05
Wall functions - questions about implementation AlmostSurelyRob OpenFOAM Programming & Development 44 May 6, 2020 11:11
Wall functions vs. Solving viscous layer TommyM OpenFOAM Pre-Processing 0 April 28, 2020 18:14
Objective functions khavart SU2 Shape Design 3 June 11, 2019 08:01
[snappyHexMesh] SnappyHexMesh complex geometries amp thin wall parts hsieh OpenFOAM Meshing & Mesh Conversion 0 September 22, 2008 18:34


All times are GMT -4. The time now is 01:51.