Can someone suggest a way/solver to
simulate a frequency dependent
element (resistor)?
I am not saying using w-element
in Hspice, which is designed for
transmission line.
I am talking about a general frequency dependent
element, such as a resistor which has value
I do know the details of Hspice but Pspice has math models where an ideal voltage controlled current source can have a polynomial related current to a voltage across any two nodes including the nodes it is connected to. I suspect that Hspice also has this idealized source.
You could form a frequency dependent network that is energized from sources that relay from the main terminals to produce your effect and then do the absolute value function and use the current source to draw the current.
why don't you use EM simulators, such as Sonnet, Hfss, CST MwStudio...etc. If you know the structure and material type, you can define the problem and simulate.